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)
1690 references to TryGetValue
ComSvcConfig (9)
Options.cs (1)
363if (!comps.TryGetValue(comp, out compDef))
parent\svcutil\CommandLineParser.cs (2)
111if (contents.TryGetValue(key.ToLower(CultureInfo.InvariantCulture), out values)) 128if (!contents.TryGetValue(key.ToLower(CultureInfo.InvariantCulture), out result))
SvcFileManager.cs (3)
60if (this.svcFiles.TryGetValue(clsid, out svcFile)) 76if (this.svcFiles.TryGetValue(clsid, out svcFile)) 122if (this.svcFiles.TryGetValue(clsid, out svcFile))
Tool.cs (3)
465if (!applicationToComponents.TryGetValue(config.Appid, out componentToInterfaces)) 470if (!componentToInterfaces.TryGetValue(config.Clsid, out interfacesForComponents)) 475if (!interfacesForComponents.TryGetValue(config.Iid, out endpointsForInterface))
Microsoft.Activities.Build (2)
Microsoft\Activities\Build\Validation\ValidationBuildExtension.cs (2)
176foundSourceLocation = sourceLocations.TryGetValue(violation.SourceDetail, out violationLocation); 186foundSourceLocation = sourceLocations.TryGetValue(errorSource, out violationLocation);
mscorlib (50)
system\AppContext\AppContext.cs (1)
116if (s_switchMap.TryGetValue(switchName, out switchValue))
system\appdomain.cs (1)
2491LocalStore.TryGetValue(name, out data);
system\attribute.cs (1)
404types.TryGetValue(attrType, out usage);
system\collections\objectmodel\keyedcollection.cs (1)
100bool exist = dict.TryGetValue(key, out itemInDict);
system\diagnostics\eventing\eventsource.cs (13)
6067if (opcodeTab.TryGetValue(value, out prevName) && !name.Equals(prevName, StringComparison.Ordinal)) 6079if (taskTab != null && taskTab.TryGetValue(value, out prevName) && !name.Equals(prevName, StringComparison.Ordinal)) 6095if (keywordTab != null && keywordTab.TryGetValue(value, out prevName) && !name.Equals(prevName, StringComparison.Ordinal)) 6259if (stringTab.TryGetValue("event_" + eventName, out msg)) 6288if (!channelTab.TryGetValue((int)channel, out info)) 6562if (stringTab.TryGetValue(key, out prevValue) && !prevValue.Equals(value)) 6587stringTab.TryGetValue(key, out value); 6623if (channelTab == null || !channelTab.TryGetValue((int)channel, out info)) 6638if (!channelTab.TryGetValue((int)channel, out info)) 6657if (!taskTab.TryGetValue((int)task, out ret)) 6690if (opcodeTab == null || !opcodeTab.TryGetValue((int)opcode, out ret)) 6705if ((keywordTab == null || !keywordTab.TryGetValue(bit, out keyword)) && 6866if (perEventByteArrayArgIndices.TryGetValue(evtName, out byteArrArgIndices))
system\globalization\culturedata.cs (2)
550tempHashTable.TryGetValue(hashName, out retVal); 778tempHashTable.TryGetValue(hashName, out retVal);
system\globalization\datetimeformatinfoscanner.cs (1)
225if (KnownWords.TryGetValue(str, out words) == false)
system\reflection\emit\modulebuilder.cs (2)
130if (m_TypeBuilderDict.TryGetValue(strTypeName, out foundType) && 371if (m_TypeBuilderDict.TryGetValue(strTypeName, out foundType))
system\resources\manifestbasedresourcegroveler.cs (1)
115if (localResourceSets.TryGetValue(culture.Name, out rs))
system\resources\resourcemanager.cs (5)
671localResourceSets.TryGetValue(culture.Name, out rs); 709if (localResourceSets.TryGetValue(culture.Name, out rs)) 768if (localResourceSets.TryGetValue(requestedCulture.Name, out rs)) { 789if (localResourceSets.TryGetValue(currentCultureInfo.Name, out rs)) { 851if (localResourceSets.TryGetValue(cultureName, out lostRace)) {
system\resources\resourcereader.cs (1)
1401if (_reader._resCache.TryGetValue(key, out locator)) {
system\resources\runtimeresourceset.cs (3)
309if (_resCache.TryGetValue(key, out resLocation)) { 396if (_resCache.TryGetValue(key, out resLocation)) { 402if (_caseInsensitiveTable.TryGetValue(key, out resLocation)) {
system\runtime\interopservices\windowsruntime\eventregistrationtokentable.cs (3)
108if (m_tokens.TryGetValue(token, out handler)) 207if (m_tokens.TryGetValue(preferredToken, out registeredHandler)) 239if (m_tokens.TryGetValue(token, out handler))
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (4)
242if (!registrationTokens.TryGetValue(handler, out tokens)) 277if (!instanceMap.TryGetValue(removeMethod.Method, out tokens)) 301if (!registrationTokens.TryGetValue(handler, out tokens)) 668if (!s_eventRegistrations.TryGetValue(eventCacheKey, out eventCacheEntry))
system\runtime\serialization\formatters\binary\binaryformatter.cs (1)
253if (!typeNameCache.TryGetValue(type, out typeInformation))
system\runtime\serialization\serializationinfo.cs (1)
458if (m_nameToIndex.TryGetValue(name, out index))
system\security\policy\evidence.cs (1)
684if (!m_evidence.TryGetValue(evidenceType, out descriptor) && !addIfNotExist)
system\security\policy\hash.cs (6)
203if (m_hashes.TryGetValue(typeof(MD5), out md5Hash)) 207if (m_hashes.TryGetValue(typeof(SHA1), out sha1Hash)) 236if (!m_hashes.TryGetValue(typeof(SHA1), out sha1)) 255if (!m_hashes.TryGetValue(typeof(SHA256), out sha256)) 274if (!m_hashes.TryGetValue(typeof(MD5), out md5)) 313if (!m_hashes.TryGetValue(indexType, out hashValue))
system\threading\Tasks\Task.cs (1)
6667s_currentActiveTasks.TryGetValue(taskId, out task);
system\timezoneinfo.cs (1)
2863if (cachedData.m_systemTimeZones.TryGetValue(id, out match)) {
PresentationBuildTasks (10)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (9)
134if (_namespaceMap.TryGetValue(newNamespace, out tempNamespace)) 246if (!_elementHandler.TryGetValue(elementName, out elementCB)) 792if (!_namespaceMap.TryGetValue(namespaceName, out mappedNamespace)) 841if (!_namespaceMap.TryGetValue(mappedNamespace, out tempNamespace)) 1090if (!_attributeHandler.TryGetValue(attributeName, out attributeCB)) 1806if (_processContents != null && _processContents.TryGetValue(namespaceName, out set)) 1834if (!_processContents.TryGetValue(namespaceName, out processContentSet)) 1849if (!_preserveElements.TryGetValue(namespaceName, out preserveElementSet)) 1864if (!_preserveAttributes.TryGetValue(namespaceName, out preserveAttributeSet))
Framework\System\Windows\Markup\XmlnsCache.cs (1)
221if (_compatTable.TryGetValue(oldXmlnamespace, out newXmlNamespace))
PresentationCore (18)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
671if (faces.TryGetValue(faceName, out matchingFont))
Core\CSharp\MS\Internal\FontCache\FontResourceCache.cs (2)
85if (!_assemblyCaches.TryGetValue(uriAssembly, out folderResourceMap)) 94folderResourceMap.TryGetValue(escapedPath, out ret);
Core\CSharp\MS\Internal\FontFace\CompositeFontInfo.cs (1)
190if (_familyMapRangesByLanguage.TryGetValue(matchingLanguage, out ranges))
Core\CSharp\MS\Internal\Ink\Renderer.cs (4)
482if (_visuals.TryGetValue(stroke, out visual)) 506if (_visuals.TryGetValue(stroke, out visual) == false) 603&& (_visuals.TryGetValue(stroke, out precedingVisual) == true) 680if ((_highlighters == null) || (_highlighters.TryGetValue(color, out hcVisual) == false))
Core\CSharp\System\Windows\Ink\StrokeCollection2.cs (1)
409if (highLighters.TryGetValue(color, out strokes) == false)
Core\CSharp\System\Windows\Input\ManipulationDevice.cs (1)
135_manipulationDevices.TryGetValue(element, out device);
Core\CSharp\System\Windows\Media\KnownColors.cs (2)
218if (!s_solidColorBrushCache.TryGetValue(argb, out scp)) 685if (s_knownArgbColors.TryGetValue(argbUpper, out color))
Core\CSharp\System\Windows\Media\SolidColorBrush.cs (3)
291return fwdDictionary.TryGetValue(key, out value); 296return revDictionary.TryGetValue(value, out keys); 321if (!revDictionary.TryGetValue(value, out keys))
Core\CSharp\System\Windows\Media\Visual.cs (1)
680if (channelsToCyclicBrushMap.TryGetValue(channel, out references))
Shared\MS\Internal\MimeTypeMapper.cs (1)
53if (!_fileExtensionToMimeType.TryGetValue(completeExt, out mimeType))
Shared\MS\Internal\SafeSecurityHelper.cs (1)
220if (_assemblies.TryGetValue(key, out result))
PresentationFramework (63)
parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
70isPresent = s_switchMap.TryGetValue(switchName, out isEnabled);
src\Framework\MS\Internal\Annotations\AnnotationMap.cs (3)
37if (!_annotationIdToAttachedAnnotations.TryGetValue(attachedAnnotation.Annotation.Id, out list)) 53if (_annotationIdToAttachedAnnotations.TryGetValue(attachedAnnotation.Annotation.Id, out list)) 84if (!_annotationIdToAttachedAnnotations.TryGetValue(annotationId, out list))
src\Framework\MS\Internal\Annotations\Component\AnnotationComponentManager.cs (1)
283if (!_attachedAnnotations.TryGetValue(attachedAnnotation, out currentList))
src\Framework\MS\Internal\Annotations\ObservableDictionary.cs (3)
152return _nameValues.TryGetValue(key, out value); 253_nameValues.TryGetValue(key, out value); 269_nameValues.TryGetValue(key, out oldValue);
src\Framework\MS\Internal\Annotations\Storage\StoreAnnotationsMap.cs (2)
97if (_currentAnnotations.TryGetValue(id, out existingCachedAnnot)) 200if (_currentAnnotations.TryGetValue(id, out cachedAnnotation))
src\Framework\MS\Internal\AppModel\MimeObjectFactory.cs (1)
49if (_objectConverters.TryGetValue(contentType, out d))
src\Framework\MS\Internal\AppModel\ResourceContainer.cs (1)
356_registeredResourceManagers.TryGetValue(key.ToLowerInvariant(), out rmwResult);
src\Framework\MS\Internal\Data\LiveShapingList.cs (1)
714if (TryGetValue(path, out dp))
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (1)
821if (_contentPropertyTable != null && _contentPropertyTable.TryGetValue(fullTypeName, out contentProperty))
src\Framework\MS\Internal\Interop\InternalDispatchObject.cs (1)
141if (_dispId2MethodMap.TryGetValue(dispid, out method))
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (1)
695bool foundInMapResults = mapAnnotations.TryGetValue(annotationId, out annot);
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (2)
235DateTimePeers.TryGetValue(key, out peer); 274WeakRefElementProxyStorage.TryGetValue(dateTimeCalendarModePairKey, out weakRefEP);
src\Framework\System\Windows\Controls\DataGrid.cs (3)
6753!_editingCellAutomationValueHolders.TryGetValue(column, out cellAutomationValueHolder)) 6807if (_editingCellAutomationValueHolders.TryGetValue(column, out holder)) 6833if (_editingCellAutomationValueHolders.TryGetValue(cell.Column, out holder))
src\Framework\System\Windows\Controls\DataGridHelper.cs (1)
458if (propertyTransferEnabledForObject.TryGetValue(p, out isPropertyTransferEnabled))
src\Framework\System\Windows\Controls\DataGridItemAttachedStorage.cs (4)
30if (_itemStorageMap.TryGetValue(item, out map)) 32return map.TryGetValue(property, out value); 43if (_itemStorageMap.TryGetValue(item, out map)) 73if (!_itemStorageMap.TryGetValue(item, out map))
src\Framework\System\Windows\Controls\Primitives\Selector.cs (2)
2771if (_set.TryGetValue(e, out realInfo)) 2936if (!_set.TryGetValue(info, out result))
src\Framework\System\Windows\Data\BindingGroup.cs (1)
1108if (!_notifyDataErrors.TryGetValue(itemWR, out itemErrors))
src\Framework\System\Windows\Documents\FixedDSBuilder.cs (2)
233if (_nameHashTable.TryGetValue(listItem.Marker, out fen) == true) 243if (_nameHashTable.TryGetValue(ne.NameReference, out fen) == true)
src\Framework\System\Windows\Documents\FixedSchema.cs (1)
324if (!_schemas.TryGetValue(mimeType, out schema))
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
266highlights.TryGetValue(this.FixedPage, out highlightList);
src\Framework\System\Windows\Interop\DynamicScriptObject.cs (1)
606|| !_dispIdCache.TryGetValue(memberName, out dispid))
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
1607if (!_enumTypeConverterMap.TryGetValue(propertyType, out converter)) 1616if (!_typeConverterMap.TryGetValue(typeConverterId, out converter)) 2786_freezeCache.TryGetValue(value, out freezable);
src\Framework\System\Windows\Markup\Baml2006\Baml2006ReaderFrame.cs (1)
56if (_namespaces != null && _namespaces.TryGetValue(prefix, out xamlNs))
src\Framework\System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
463_bamlXmlnsMappings.TryGetValue(xamlNamespace, out assemblies);
src\Framework\System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
333if (Constructors.TryGetValue(paramCount, out info))
src\Framework\System\Windows\Markup\Baml2006\WpfKnownTypeInvoker.cs (1)
27if(!_type.Constructors.TryGetValue(arguments.Length, out ctorInfo))
src\Framework\System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (2)
205if (!_masterTypeTable.TryGetValue(type, out xamlType)) 222if (!_masterTypeTable.TryGetValue(type, out xamlType))
src\Framework\System\Windows\Markup\Baml2006\WpfSharedXamlSchemaContext.cs (1)
34if (!_masterTypeTable.TryGetValue(type, out xType))
src\Framework\System\Windows\Markup\ParserContext.cs (1)
836_freezeCache.TryGetValue(value, out freezable);
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
716if (!_keyTypeMap.TryGetValue(type, out result))
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (8)
1389if (_uriToPrefix != null && _uriToPrefix.TryGetValue(uri, out result)) 1399if (_prefixToUri != null && _prefixToUri.TryGetValue(prefix, out result)) 1579if (!XmlnsDefinitions.TryGetValue(assembly, out namespaceToUri)) 1598if(namespaceToUri.TryGetValue(definition.ClrNamespace, out previousBestNamespace)) 1600if(DefaultPrefixes.TryGetValue(previousBestNamespace, out previousBestPrefix)) 1602DefaultPrefixes.TryGetValue(definition.XmlNamespace, out newPrefix); 1639if (!namespaceToUri.TryGetValue(type.Namespace, out result)) 1654DefaultPrefixes.TryGetValue(uri, out result);
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
3607if (_piReverseTable.TryGetValue(fullName, out ret) && ret != null)
src\Framework\System\Windows\Markup\XamlTypeMapperSchemaContext.cs (3)
42if (!_nsDefinitions.TryGetValue(mapEntry.XmlNamespace, out clrNsList)) 315if (!_allowedInternalTypes.TryGetValue(type, out result)) 343if (_nsDefinitions != null && _nsDefinitions.TryGetValue(xamlNamespace, out clrNsList))
src\Framework\System\Windows\Markup\XmlnsCache.cs (1)
221if (_compatTable.TryGetValue(oldXmlnamespace, out newXmlNamespace))
src\Framework\System\Windows\Shell\JumpList.cs (2)
269if (s_applicationMap.TryGetValue(application, out oldValue) && oldValue != null) 298s_applicationMap.TryGetValue(application, out value);
src\Framework\System\Windows\Standard\MessageWindow.cs (1)
208if (!s_windowLookup.TryGetValue(hwnd, out hwndWrapper))
src\Framework\System\Windows\SystemResources.cs (1)
472_dictionaries.TryGetValue(assembly, out dictionaries);
SMSvcHost (12)
System\ServiceModel\Activation\AppManager.cs (1)
69if (this.pools.TryGetValue(appPoolId, out pool))
System\ServiceModel\Activation\ListenerAdapter.cs (8)
222if (!appManager.Apps.TryGetValue(appKey, out app)) 257if (!appManager.AppPools.TryGetValue(appPoolId, out appPool)) 376if (!appManager.Apps.TryGetValue(appKey, out app)) 441if (!appManager.Apps.TryGetValue(appKey, out app)) 582if (!appManager.AppPools.TryGetValue(appPoolId, out appPool)) 693if (!appManager.AppPools.TryGetValue(appPoolId, out appPool)) 715if (!appManager.AppPools.TryGetValue(appPoolId, out appPool)) 738if (!appManager.Apps.TryGetValue(appKey, out app))
System\ServiceModel\Activation\MessageQueue.cs (1)
473if (registry.TryGetValue(path, out queue))
System\ServiceModel\Activation\MsmqActivation.cs (2)
163if (!this.bindingMonitors.TryGetValue(host, out bindingMonitor)) 277this.groups.TryGetValue(queueId, out group);
svcutil (2)
CommandLineParser.cs (2)
111if (contents.TryGetValue(key.ToLower(CultureInfo.InvariantCulture), out values)) 128if (!contents.TryGetValue(key.ToLower(CultureInfo.InvariantCulture), out result))
System (21)
compmod\microsoft\win32\SystemEvents.cs (2)
346if (!_handlers.TryGetValue(key, out invokeItems)) { 1331if (!_handlers.TryGetValue(key, out invokeItems)) {
compmod\system\componentmodel\design\serialization\MemberRelationshipService.cs (1)
84if (_relationships != null && _relationships.TryGetValue(new RelationshipEntry(source), out retVal) && retVal.Owner.IsAlive) {
compmod\system\componentmodel\design\ServiceObjectContainer.cs (1)
202Services.TryGetValue(serviceType, out service);
net\System\_UriSyntax.cs (6)
279m_Table.TryGetValue(lwrCaseSchemeName, out oldSyntax); 283m_TempTable.TryGetValue(syntax.SchemeName, out oldSyntax); 306m_Table.TryGetValue(lwrCaseScheme, out syntax); 310m_TempTable.TryGetValue(lwrCaseScheme, out syntax); 327m_Table.TryGetValue(lwrCaseScheme, out ret); 329m_TempTable.TryGetValue(lwrCaseScheme, out ret);
net\System\Net\Configuration\UriSection.cs (1)
130if (schemeSettings.TryGetValue(scheme.ToLowerInvariant(), out result)) {
net\System\Net\mail\MailHeaderInfo.cs (7)
140if(m_HeaderDictionary.TryGetValue(name, out id)) { 148return m_HeaderDictionary.TryGetValue(name, out dummy); 153if (m_HeaderDictionary.TryGetValue(name, out index)) { 162if(m_HeaderDictionary.TryGetValue(name, out index)) { 170if(m_HeaderDictionary.TryGetValue(name, out index)) { 178if(m_HeaderDictionary.TryGetValue(name, out index) && (MailHeaderID)index == header) { 186if (m_HeaderDictionary.TryGetValue(name, out index)) {
net\System\Net\WebUtility.cs (1)
1068_lookupTable.TryGetValue(entity, out theChar);
parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
70isPresent = s_switchMap.TryGetValue(switchName, out isEnabled);
regex\system\text\regularexpressions\RegexCharClass.cs (1)
603_definedCategories.TryGetValue(categoryName, out cat);
System.Activities (73)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (1)
108if (HostedCompilerCache.TryGetValue(assemblySet, out hcompilerWrapper))
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicExpressionConverter.cs (2)
129if (!AssemblyCache.XmlnsMappings.TryGetValue(xmlns, out mapping)) 284if (!xmlnsMappings.TryGetValue(xmlns, out mapping))
System\Activities\Activity.cs (1)
1430this.singletonActivityNames.TryGetValue(name, out result);
System\Activities\ActivityLocationReferenceEnvironment.cs (2)
169if (this.declarations != null && this.declarations.TryGetValue(name, out result)) 182if (activityEnvironment.declarations != null && activityEnvironment.declarations.TryGetValue(name, out result))
System\Activities\ActivityUtilities.cs (1)
1448if (!lookupTable.TryGetValue(type, out existingInstance))
System\Activities\Debugger\DebugInfo.cs (1)
48if (this.cachedLocalInfos != null && this.cachedLocalInfos.TryGetValue(expressionString, out cachedLocalInfo))
System\Activities\Debugger\DebugManager.cs (4)
158if (this.states.TryGetValue(activity1, out state)) 258if (sourceLocations.TryGetValue(activity, out sourceLocation)) 348if (this.states.TryGetValue(activity, out activityState)) 388if (this.states.TryGetValue(activity, out activityState))
System\Activities\Debugger\InstrumentationTracker.cs (1)
97if (this.UninstrumentedSubRoots.TryGetValue(subRoot, out sourcePath))
System\Activities\Debugger\SourceLocationProvider.cs (1)
395if (!visited.Contains(currentActivity) && sourceLocations.TryGetValue(origin, out sourceLocation))
System\Activities\Debugger\StateManager.cs (5)
475if (!this.stateMap.TryGetValue(location, out state)) 742if (!islandsWithPriming.TryGetValue(state, out island)) 753if (!islands.TryGetValue(state, out island)) 774if (!this.sourceDocuments.TryGetValue(sourceDocKey, out documentWriter)) 786if (checksumCache == null || !checksumCache.TryGetValue(fileName.ToUpperInvariant(), out checksumBytes))
System\Activities\Debugger\XamlDebuggerXmlReader.cs (7)
457bool isInAttribute = this.xmlReaderWithSourceLocation.AttributeValueRanges.TryGetValue(currentLocation, out valueRange); 458bool isInContent = isInAttribute ? false : this.xmlReaderWithSourceLocation.ContentValueRanges.TryGetValue(currentLocation, out valueRange); 604if (this.xmlReaderWithSourceLocation.EmptyElementRanges.TryGetValue(myStartLocation, out myRange)) 612this.xmlReaderWithSourceLocation.StartElementLocations.TryGetValue(myStartLocation, out myStartBracket); 613this.xmlReaderWithSourceLocation.EndElementLocations.TryGetValue(myEndLocation, out myEndBracket); 623if (this.initializationValueRanges.TryGetValue(startNode, out valueRange)) 753if (this.objRgnToInitValueRgnMapping.TryGetValue(
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (6)
251if (this.updateableObjects.TryGetValue(origin, out mapItem)) 468this.savedOriginalValues.TryGetValue(key, out result); 699if (expressionRoot != null && expressionRootsThatCanInduceIdle != null && expressionRootsThatCanInduceIdle.TryGetValue(expressionRoot, out idleActivity)) 746this.expressionRootsThatCanInduceIdle.TryGetValue(expressionRoot, out result); 970if (this.newToOldMatches.TryGetValue(newChild, out result)) 1039if (this.newToOldMatches.TryGetValue(newVariable, out result))
System\Activities\Hosting\SymbolResolver.cs (6)
127if (this.symbols.TryGetValue(item.Key, out reference)) 203if (this.symbols.TryGetValue(item.Key, out reference)) 220if (this.symbols.TryGetValue(key, out reference)) 233if (this.symbols.TryGetValue(name, out reference)) 254if (this.symbols.TryGetValue(locationReference.Name, out externalLocationReference)) 269if (this.symbols.TryGetValue(name, out reference))
System\Activities\Hosting\WorkflowInstanceExtensionCollection.cs (1)
473return this.singleTypeCache.TryGetValue(type, out extension);
System\Activities\Runtime\ActivityExecutor.cs (1)
2257return this.activeOperations.TryGetValue(instance, out asyncContext);
System\Activities\Runtime\BookmarkManager.cs (1)
207if (this.bookmarks.TryGetValue(bookmark, out wrapper))
System\Activities\Runtime\BookmarkScopeManager.cs (4)
134if (!this.bookmarkManagers.TryGetValue(lookupScope, out manager)) 154if (this.bookmarkManagers.TryGetValue(lookupScope, out manager)) 179this.bookmarkManagers.TryGetValue(lookupScope, out manager); 316if (this.bookmarkManagers.TryGetValue(lookupScope, out manager))
System\Activities\Runtime\ExecutionPropertyManager.cs (2)
140if (currentManager.properties.TryGetValue(name, out property)) 408if (this.properties.TryGetValue(name, out property))
System\Activities\Statements\CompensationExtension.cs (2)
91this.CompensationTokenTable.TryGetValue(compensationId, out compensationToken); 100if (this.CompensationTokenTable.TryGetValue(compensationId, out compensationToken))
System\Activities\Statements\Flowchart.cs (1)
145if (originalChild != null && originalActivities.TryGetValue(originalChild, out originalIndex))
System\Activities\Statements\InternalState.cs (3)
281if (originalInternalState.triggerInternalTransitionMapping.TryGetValue(triggerMatch, out originalTransition)) 704this.triggerInternalTransitionMapping.TryGetValue(completedInstance.Activity, out internalTransition); 820if (!this.triggerInternalTransitionMapping.TryGetValue(triggerActivity, out internalTransition))
System\Activities\Statements\TimerTable.cs (2)
339if (this.dictionary.TryGetValue(bookmark, out timerData)) 349return this.dictionary.TryGetValue(bookmark, out timerData);
System\Activities\Tracking\RuntimeTrackingProfile.cs (7)
166if (!this.activitySubscriptions.TryGetValue(query.ActivityName, out subscription)) 291if (this.activitySubscriptions.TryGetValue(activityStateRecord.Activity.Name, out eventSubscriptions)) 296if (query == null && this.activitySubscriptions.TryGetValue("*", out eventSubscriptions)) 338if (!this.workflowEventSubscriptions.TryGetValue(workflowRecord.State, out trackingQuery)) 340this.workflowEventSubscriptions.TryGetValue("*", out trackingQuery); 353this.bookmarkSubscriptions.TryGetValue(bookmarkRecord.BookmarkName, out trackingQuery); 357this.bookmarkSubscriptions.TryGetValue("*", out trackingQuery);
System\Activities\Tracking\TrackingProvider.cs (1)
233if (!this.profileSubscriptions.TryGetValue(participant, out runtimeProfile))
System\Activities\Validation\ValidationHelper.cs (4)
89equivalenceInfo.DisjointGroupsDictionary.TryGetValue(configuredGroupName, out disjointGroups); 95equivalenceInfo.OverlappingGroupsDictionary.TryGetValue(configuredGroupName, out overlappingGroups); 153if (!overloadGroups.TryGetValue(groupName, out arguments)) 396if (!dictionary.TryGetValue(dictionaryKey, out listValues))
System\Activities\WorkflowInvoker.cs (1)
502if (this.PendingInvokes.TryGetValue(userState, out context))
System\Activities\XamlIntegration\DynamicActivityXamlReader.cs (1)
989if (!this.PropertyHolders.TryGetValue(propertyName, out propertyHolder))
System\Activities\XamlIntegration\NamespaceTable.cs (1)
30if (this.namespacesCache.TryGetValue(prefix, out result))
System\Activities\XamlIntegration\TextExpressionCompiler.cs (3)
845bool found = expressionIdToLocationReferences.TryGetValue(descriptor.Id, out requiredLocations); 2477while (currentActivity != null && !symbols.TryGetValue(currentActivity, out sourceLocation)) 2529if (lineNumberDictionary.TryGetValue(namespaceName, out lineNumReturend))
System.Activities.Core.Presentation (8)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (2)
1216if (!this.modelElement.TryGetValue(model, out container)) 1602if (flowNodeModelItemMap.TryGetValue(flowElement, out flowElementMI))
System\Activities\Core\Presentation\GenericFlowSwitchHelper.cs (1)
91if (modelItems.TryGetValue(currentFlowElement, out modelItem))
System\Activities\Core\Presentation\RegisterMetadataDelayedWorker.cs (2)
43if (!this.DelayedWorkItems.TryGetValue(assemblyName, out currentDelayedWorkItems)) 76if (this.DelayedWorkItems.TryGetValue(loadedAssembly.GetName().Name, out currentDelayedWorkItems))
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (1)
256if (modelItemToGuid.TryGetValue(item, out itemGuid) && guid == itemGuid)
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (2)
554if (!this.modelItemToUIElement.TryGetValue(model, out element)) 793if (modelItemToUIElement.TryGetValue(item, out element) && element is VirtualizedContainerService.VirtualizingContainer)
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (1)
454SaveWorkflowAsyncResult.serviceDeploymentIdsCache.TryGetValue(this.serviceDeploymentHash, out this.serviceDeploymentId);
System.Activities.Presentation (77)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ResolverCache.cs (1)
41if (this.cache.TryGetValue(type, out value))
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateIdManager.cs (3)
34if (this.prefixToIntMap.TryGetValue(idParts[0], out oldValue)) 56this.prefixToIntMap.TryGetValue(prefix, out suffix); 61this.prefixToIntMap.TryGetValue(prefix, out suffix);
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (1)
473if (viewStateInfo.TryGetValue(frameObject.IdRef, out viewStateNodeList))
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
310if (modelItemObjectSequence.TryGetValue(key, out modelItemObject))
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlSchemaContext.cs (1)
148if (this.customXamlTypes != null && this.customXamlTypes.TryGetValue(type, out xamlType))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (9)
262if (!_currentLayer.DefaultItems.TryGetValue(itemType, out item)) 310while (layer != null && !layer.Items.TryGetValue(itemType, out item)) 341if (_subscriptions != null && _subscriptions.TryGetValue(item.ItemType, out callback)) 377_subscriptions.TryGetValue(contextItemType, out existing); 415if (_subscriptions.TryGetValue(contextItemType, out existing)) 532if (_services != null && _services.TryGetValue(serviceType, out service)) 641_subscriptions.TryGetValue(serviceType, out existing); 714if (_subscriptions != null && _subscriptions.TryGetValue(serviceType, out subscribeCallback)) 739if (_subscriptions.TryGetValue(serviceType, out existing))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\MutableAttributeTable.cs (7)
138if (existingMd.MemberAttributes.TryGetValue(kv.Key, out existing)) 173if (_metadata.TryGetValue(type, out existing)) 236if (_metadata.TryGetValue(typeToGet, out md)) 290if (_metadata.TryGetValue(typeToGet, out md)) 305if (md.MemberAttributes.TryGetValue(name, out list)) 337if (!md.MemberAttributes.TryGetValue(memberName, out list)) 408if (!_metadata.TryGetValue(type, out md))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryNameMap.cs (1)
37if (_cache.TryGetValue(categoryName, out localizedCategoryName))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (1)
260if (_defaultPropertyCache.TryGetValue(type, out defaultProperty))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyMerger.cs (1)
152if (!counter.TryGetValue(property.Name, out existingModelPropertiesForProperty))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\SelectionPathResolver.cs (1)
70if (!_interpreters.TryGetValue(path.PathTypeId, out interpreter))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PersistedStateContainer.cs (1)
29if (!_persistedStates.TryGetValue(key, out state))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PropertyViewManagerStateContainer.cs (1)
46!_persistenceIdToManagerTypeNameMap.TryGetValue(persistenceId, out propertyViewManagerTypeName))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (6)
267if (!_attributeCache.TryGetValue(objectType, out attributes)) 454if (_descriptorCache == null || !_descriptorCache.TryGetValue(key, out cached)) 548if (_metadataTypeCache == null || !_metadataTypeCache.TryGetValue(baseReflectionType, out reflectionType)) 1619if (_memberCache == null || !_memberCache.TryGetValue(info, out cache)) 1707if (_memberCache == null || !_memberCache.TryGetValue(info, out cache)) 1751if (_memberCache == null || !_memberCache.TryGetValue(info, out cache))
System.Activities.Presentation\System\Activities\Presentation\CachedResourceDictionaryExtension.cs (1)
25if (!Cache.TryGetValue(this.Source, out resourceDictionary))
System.Activities.Presentation\System\Activities\Presentation\Debugger\DebuggerService.cs (11)
309if (this.breakpoints.TryGetValue(modelItem, out breakpointType)) 326if (this.instanceToSourceLocationMapping.TryGetValue(unresolvedObject, out sourceLocation)) 332if (this.sourceLocationToModelItem.TryGetValue(sourceLocation, out modelItem)) 363if (this.unmappedBreakpoints.TryGetValue(sourceLocation, out breakpointType)) 392if (this.breakpoints.TryGetValue(modelItem, out actualBreakpointType)) 402if (this.breakpoints.TryGetValue(modelItem, out oldBreakpointType)) 574if (this.unmappedBreakpoints.TryGetValue(sourceLocation, out oldBreakpointType)) 703if (this.transientBreakpoints.TryGetValue(modelItem, out breakpointType)) 790if (this.instanceToSourceLocationMapping.TryGetValue(instance, out sourceLocation)) 821this.modelItemToSourceLocation.TryGetValue(modelItem, out sourceLocation); 836if (!this.sourceLocationToModelItem.TryGetValue(sourceLocation, out modelItem))
System.Activities.Presentation\System\Activities\Presentation\DefaultCommandExtensionCallback.cs (1)
98if (defaultGestures.TryGetValue(cmd, out gestures))
System.Activities.Presentation\System\Activities\Presentation\DeleteHelper.cs (1)
55if (!containerToModelItemsDict.TryGetValue(container, out modelItemsPerContainer))
System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (4)
55bool argumentAccessorsGeneratorFound = argumentAccessorsGenerators.TryGetValue(activityType, out argumentAccessorsGenerator); 58argumentAccessorsGeneratorFound = argumentAccessorsGenerators.TryGetValue(activityType.GetGenericTypeDefinition(), out argumentAccessorsGenerator); 171if (assignLValueTypes.TryGetValue(assignWithRValueToFix, out expectedReturnType)) 285if (!this.argumentAccessorWrappersCache.TryGetValue(activity, out argumentAccessorWrappers))
System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelItemImpl.cs (1)
42if (modelTreeItem.ModelPropertyStore.TryGetValue(propertyName, out currentValue))
System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelPropertyImpl.cs (1)
133if (this.parentModelTreeItem.ModelPropertyStore.TryGetValue(this.Name, out existing))
System.Activities.Presentation\System\Activities\Presentation\Model\MorphHelper.cs (2)
49morphExtensions.TryGetValue(propertyType, out extension); 52morphExtensions.TryGetValue(propertyType.GetGenericTypeDefinition(), out extension);
System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (2)
115return _internalDictionary.TryGetValue(k, out value); 165result = _internalDictionary.TryGetValue(new WeakKey(item.Key), out value);
System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
403if (!this.AvailableNamespaces.TryGetValue(importNamespace, out assemblies))
System.Activities.Presentation\System\Activities\Presentation\ObjectReferenceService.cs (2)
170return this.ObjectReferenceIds.TryGetValue(objectReferenceId, out obj); 211if (!this.ObjectReferenceCount.TryGetValue(objectReferenceId, out referenceCount))
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (4)
264this.ValidationErrors.TryGetValue(modelItem.GetCurrentValue(), out validationError); 656if (!this.ValidationErrors.TryGetValue(errorSource, out currentError)) 670if (!this.ValidationErrors.TryGetValue(errorParent, out currentError)) 953if (this.ValidationErrorSourceLocators.TryGetValue(typeOfActivityWithValidationError, out validationErrorSourceLocator))
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
791if (ConvertFromStringDelegates.TryGetValue(targetEditor, out convertFromStringAction))
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\ChangeNotificationTracker.cs (2)
88if (!TrackedModelItem.TryGetValue(modelItem, out propertyList)) 145if (TrackedModelItem.TryGetValue(modelItem, out propertyList))
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelItemViewModel.cs (1)
347if (icon == null && !TreeViewItemViewModel.IconCache.TryGetValue(modelItemType, out icon))
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
536if (!this.Trackers.TryGetValue(modelProperty, out tracker) && createNew)
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewStateService.cs (2)
76viewState.TryGetValue(key, out viewStateObj); 99viewState.TryGetValue(key, out oldValue);
System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (2)
1188if (current.declaredNames != null && current.declaredNames.TryGetValue(name, out result)) 1257if (current.TryGetValue(prefix, out ns))
System.Activities.Presentation\System\Activities\Presentation\Xaml\ObjectToSourceLocationMapping.cs (2)
182this.ViewStateDataSourceLocationMapping.TryGetValue(workflowViewStateIdRef, out sourceLocation); 237this.SourceLocationObjectToModelItemObjectMapping.TryGetValue(sourceLocationObject, out modelItemObject);
System.AddIn (2)
System\Addin\Hosting\AddInStore.cs (2)
771found = StateCache.TryGetValue(fileName, out cachedState); 1427if (!uniqueAddIns.TryGetValue(addInID, out dupPipeline))
System.ComponentModel.DataAnnotations (4)
DataAnnotations\ValidationAttributeStore.cs (2)
116if (!this._typeStoreItems.TryGetValue(type, out item)) { 195if (!this._propertyStoreItems.TryGetValue(propertyName, out item)) {
DataAnnotations\ValidationContext.cs (1)
424this._services.TryGetValue(serviceType, out service);
parent\parent\parent\parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
70isPresent = s_switchMap.TryGetValue(switchName, out isEnabled);
System.Core (26)
Microsoft\Scripting\Actions\CallSiteBinder.cs (1)
225if (!cache.TryGetValue(typeof(T), out ruleCache)) {
Microsoft\Scripting\Actions\ExpandoClass.cs (1)
103if (!_transitions.TryGetValue(hashCode, out infos)) {
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
108if (!ids.TryGetValue(e, out id)) {
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (2)
65if (!_ids.TryGetValue(label, out id)) { 92if (!_ids.TryGetValue(p, out id)) {
Microsoft\Scripting\Compiler\BoundConstants.cs (2)
117if (_cache.TryGetValue(new TypedConstant(value, type), out local)) { 179if (!_indexes.TryGetValue(value, out index)) {
Microsoft\Scripting\Compiler\CompilerScope.cs (2)
247if (s._locals.TryGetValue(variable, out storage)) { 377return ReferenceCount.TryGetValue(v, out refCount) && ShouldCache(v, refCount);
Microsoft\Scripting\Compiler\DelegateHelpers.Generated.cs (1)
194if (!curTypeInfo.TypeChain.TryGetValue(lookingUp, out nextTypeInfo)) {
Microsoft\Scripting\Compiler\KeyedQueue.cs (5)
41if (!_data.TryGetValue(key, out queue)) { 49if (!_data.TryGetValue(key, out queue)) { 61if (_data.TryGetValue(key, out queue) && queue.Count > 0) { 74if (!_data.TryGetValue(key, out queue)) { 82if (!_data.TryGetValue(key, out queue)) {
Microsoft\Scripting\Compiler\LabelInfo.cs (1)
348return Labels.TryGetValue(target, out info);
Microsoft\Scripting\Compiler\LambdaCompiler.ControlFlow.cs (1)
31if (!_labelInfo.TryGetValue(node, out result)) {
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (1)
97if (!_tree.Scopes.TryGetValue(node, out scope)) {
Microsoft\Scripting\Compiler\SymbolDocumentGenerator.cs (1)
51if (!_symbolWriters.TryGetValue(document, out result)) {
Microsoft\Scripting\Utils\Helpers.cs (1)
49dict.TryGetValue(key, out count);
System\Linq\Parallel\QueryOperators\Binary\ExceptQueryOperator.cs (1)
302if (!leftLookup.TryGetValue(wrappedLeftElement, out oldEntry) || m_leftKeyComparer.Compare(leftKey, oldEntry.Second) < 0)
System\Linq\Parallel\QueryOperators\Binary\IntersectQueryOperator.cs (2)
291if (!m_hashLookup.TryGetValue(wrappedLeftElem, out oldEntry) || m_leftKeyComparer.Compare(leftKey, oldEntry.Second) < 0) 316if (m_hashLookup.TryGetValue(wrappedRightElem, out entry))
System\Linq\Parallel\QueryOperators\Binary\UnionQueryOperator.cs (2)
373if (!union.TryGetValue(wrappedElem, out oldEntry) || m_keyComparer.Compare(key, oldEntry.Second) < 0) 390if (!union.TryGetValue(wrappedElem, out oldEntry) || m_keyComparer.Compare(key, oldEntry.Second) < 0)
System\Linq\Parallel\QueryOperators\Unary\DistinctQueryOperator.cs (1)
252if (!m_hashLookup.TryGetValue(wrappedElem, out oldEntry) || m_keyComparer.Compare(orderKey, oldEntry) < 0)
System.Data (130)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ResolverCache.cs (1)
41if (this.cache.TryGetValue(type, out value))
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateIdManager.cs (3)
34if (this.prefixToIntMap.TryGetValue(idParts[0], out oldValue)) 56this.prefixToIntMap.TryGetValue(prefix, out suffix); 61this.prefixToIntMap.TryGetValue(prefix, out suffix);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (1)
473if (viewStateInfo.TryGetValue(frameObject.IdRef, out viewStateNodeList))
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
310if (modelItemObjectSequence.TryGetValue(key, out modelItemObject))
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlSchemaContext.cs (1)
148if (this.customXamlTypes != null && this.customXamlTypes.TryGetValue(type, out xamlType))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (9)
262if (!_currentLayer.DefaultItems.TryGetValue(itemType, out item)) 310while (layer != null && !layer.Items.TryGetValue(itemType, out item)) 341if (_subscriptions != null && _subscriptions.TryGetValue(item.ItemType, out callback)) 377_subscriptions.TryGetValue(contextItemType, out existing); 415if (_subscriptions.TryGetValue(contextItemType, out existing)) 532if (_services != null && _services.TryGetValue(serviceType, out service)) 641_subscriptions.TryGetValue(serviceType, out existing); 714if (_subscriptions != null && _subscriptions.TryGetValue(serviceType, out subscribeCallback)) 739if (_subscriptions.TryGetValue(serviceType, out existing))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\MutableAttributeTable.cs (7)
138if (existingMd.MemberAttributes.TryGetValue(kv.Key, out existing)) 173if (_metadata.TryGetValue(type, out existing)) 236if (_metadata.TryGetValue(typeToGet, out md)) 290if (_metadata.TryGetValue(typeToGet, out md)) 305if (md.MemberAttributes.TryGetValue(name, out list)) 337if (!md.MemberAttributes.TryGetValue(memberName, out list)) 408if (!_metadata.TryGetValue(type, out md))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryNameMap.cs (1)
37if (_cache.TryGetValue(categoryName, out localizedCategoryName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (1)
260if (_defaultPropertyCache.TryGetValue(type, out defaultProperty))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyMerger.cs (1)
152if (!counter.TryGetValue(property.Name, out existingModelPropertiesForProperty))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\SelectionPathResolver.cs (1)
70if (!_interpreters.TryGetValue(path.PathTypeId, out interpreter))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PersistedStateContainer.cs (1)
29if (!_persistedStates.TryGetValue(key, out state))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PropertyViewManagerStateContainer.cs (1)
46!_persistenceIdToManagerTypeNameMap.TryGetValue(persistenceId, out propertyViewManagerTypeName))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (6)
267if (!_attributeCache.TryGetValue(objectType, out attributes)) 454if (_descriptorCache == null || !_descriptorCache.TryGetValue(key, out cached)) 548if (_metadataTypeCache == null || !_metadataTypeCache.TryGetValue(baseReflectionType, out reflectionType)) 1619if (_memberCache == null || !_memberCache.TryGetValue(info, out cache)) 1707if (_memberCache == null || !_memberCache.TryGetValue(info, out cache)) 1751if (_memberCache == null || !_memberCache.TryGetValue(info, out cache))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CachedResourceDictionaryExtension.cs (1)
25if (!Cache.TryGetValue(this.Source, out resourceDictionary))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Debugger\DebuggerService.cs (11)
309if (this.breakpoints.TryGetValue(modelItem, out breakpointType)) 326if (this.instanceToSourceLocationMapping.TryGetValue(unresolvedObject, out sourceLocation)) 332if (this.sourceLocationToModelItem.TryGetValue(sourceLocation, out modelItem)) 363if (this.unmappedBreakpoints.TryGetValue(sourceLocation, out breakpointType)) 392if (this.breakpoints.TryGetValue(modelItem, out actualBreakpointType)) 402if (this.breakpoints.TryGetValue(modelItem, out oldBreakpointType)) 574if (this.unmappedBreakpoints.TryGetValue(sourceLocation, out oldBreakpointType)) 703if (this.transientBreakpoints.TryGetValue(modelItem, out breakpointType)) 790if (this.instanceToSourceLocationMapping.TryGetValue(instance, out sourceLocation)) 821this.modelItemToSourceLocation.TryGetValue(modelItem, out sourceLocation); 836if (!this.sourceLocationToModelItem.TryGetValue(sourceLocation, out modelItem))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DeleteHelper.cs (1)
55if (!containerToModelItemsDict.TryGetValue(container, out modelItemsPerContainer))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (4)
55bool argumentAccessorsGeneratorFound = argumentAccessorsGenerators.TryGetValue(activityType, out argumentAccessorsGenerator); 58argumentAccessorsGeneratorFound = argumentAccessorsGenerators.TryGetValue(activityType.GetGenericTypeDefinition(), out argumentAccessorsGenerator); 171if (assignLValueTypes.TryGetValue(assignWithRValueToFix, out expectedReturnType)) 285if (!this.argumentAccessorWrappersCache.TryGetValue(activity, out argumentAccessorWrappers))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelItemImpl.cs (1)
42if (modelTreeItem.ModelPropertyStore.TryGetValue(propertyName, out currentValue))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelPropertyImpl.cs (1)
133if (this.parentModelTreeItem.ModelPropertyStore.TryGetValue(this.Name, out existing))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\MorphHelper.cs (2)
49morphExtensions.TryGetValue(propertyType, out extension); 52morphExtensions.TryGetValue(propertyType.GetGenericTypeDefinition(), out extension);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (2)
115return _internalDictionary.TryGetValue(k, out value); 165result = _internalDictionary.TryGetValue(new WeakKey(item.Key), out value);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
403if (!this.AvailableNamespaces.TryGetValue(importNamespace, out assemblies))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ObjectReferenceService.cs (2)
170return this.ObjectReferenceIds.TryGetValue(objectReferenceId, out obj); 211if (!this.ObjectReferenceCount.TryGetValue(objectReferenceId, out referenceCount))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (4)
264this.ValidationErrors.TryGetValue(modelItem.GetCurrentValue(), out validationError); 656if (!this.ValidationErrors.TryGetValue(errorSource, out currentError)) 670if (!this.ValidationErrors.TryGetValue(errorParent, out currentError)) 953if (this.ValidationErrorSourceLocators.TryGetValue(typeOfActivityWithValidationError, out validationErrorSourceLocator))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
791if (ConvertFromStringDelegates.TryGetValue(targetEditor, out convertFromStringAction))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\ChangeNotificationTracker.cs (2)
88if (!TrackedModelItem.TryGetValue(modelItem, out propertyList)) 145if (TrackedModelItem.TryGetValue(modelItem, out propertyList))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelItemViewModel.cs (1)
347if (icon == null && !TreeViewItemViewModel.IconCache.TryGetValue(modelItemType, out icon))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
536if (!this.Trackers.TryGetValue(modelProperty, out tracker) && createNew)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewStateService.cs (2)
76viewState.TryGetValue(key, out viewStateObj); 99viewState.TryGetValue(key, out oldValue);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (2)
1188if (current.declaredNames != null && current.declaredNames.TryGetValue(name, out result)) 1257if (current.TryGetValue(prefix, out ns))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Xaml\ObjectToSourceLocationMapping.cs (2)
182this.ViewStateDataSourceLocationMapping.TryGetValue(workflowViewStateIdRef, out sourceLocation); 237this.SourceLocationObjectToModelItemObjectMapping.TryGetValue(sourceLocationObject, out modelItemObject);
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
2404if (hash.TryGetValue(columnName, out index)) {
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (3)
77if (CurrentValues.TryGetValue(keyword, out value)) { 270if (!connectionStringBuilder.CurrentValues.TryGetValue(entry.Key, out value) || !entry.Value.Equals(value)) { 326return CurrentValues.TryGetValue(keyword, out value);
fx\src\data\System\Data\Common\ObjectStorage.cs (2)
490if ((null == cache) || !cache.TryGetValue(key, out serializer)) 495if ((null == cache) || !cache.TryGetValue(key, out serializer))
fx\src\data\System\Data\Common\SQLTypes\SqlUDTStorage.cs (1)
45if (!TypeToNull.TryGetValue(type, out value)) {
fx\src\data\System\Data\DataColumnCollection.cs (5)
104if ((!columnFromName.TryGetValue(name, out column)) || (column == null)) { 121if ((columnFromName.TryGetValue(name, out column)) && (column != null) && (column.Namespace == ns)) { 579if ((columnFromName.TryGetValue(name, out column)) && (column != null)) { 588if ((columnFromName.TryGetValue(name, out column)) && (column != null)) { 636if ((columnFromName.TryGetValue(columnName, out column)) && (column != null)) {
fx\src\data\System\Data\DataView.cs (7)
924if (rowViewCache.TryGetValue(rowview.Row, out cached) && ((object)cached == (object)rowview)) { 963if (findIndexes.TryGetValue(column, out findIndex)) { 1090if ((null == findIndexes) || !findIndexes.TryGetValue(property.Name, out findIndex)) { 1330if (rowViewBuffer.TryGetValue(row, out buffer)) { 1357rowViewCache.TryGetValue(row, out buffer); 1487if (!rowViewCache.TryGetValue(row, out drv)) { 1494rowViewCache.TryGetValue(addNewRow, out drv);
fx\src\data\System\Data\Odbc\OdbcConnectionStringbuilder.cs (4)
72if (_keywords.TryGetValue(keyword, out index)) { 83if (_keywords.TryGetValue(keyword, out index)) { 257if (_keywords.TryGetValue(keyword, out index)) { 293if (_keywords.TryGetValue(keyword, out index)) {
fx\src\data\System\Data\OleDb\oledbconnectionstring.cs (1)
243if ((null == udlcache) || !udlcache.TryGetValue(udlfilename, out udlConnectionString)) {
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (7)
91if (_keywords.TryGetValue(keyword, out index)) { 105if (_keywords.TryGetValue(keyword, out index)) { 307if (_keywords.TryGetValue(keyword, out index)) { 368if (_keywords.TryGetValue(keyword, out index)) { 375if (dynamic.TryGetValue(keyword, out info)) { 404if (!_keywords.TryGetValue(info._description, out index)) { 489if (!_keywords.TryGetValue(info._description, out index)) { // not a strongly typed property
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (4)
104if (connectionPoolGroups.TryGetValue(key, out poolGroup)) { 168if (connectionPoolGroups.TryGetValue(key, out connectionPoolGroup)) { 376if (!connectionPoolGroups.TryGetValue(key, out connectionPoolGroup) || (connectionPoolGroup.IsDisabled && (null != connectionPoolGroup.PoolGroupOptions))) { 415if (!connectionPoolGroups.TryGetValue(key, out connectionPoolGroup)) {
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (4)
111txnFound = _transactedCxns.TryGetValue ( transaction, out connections ); 157if ( txnFound = _transactedCxns.TryGetValue ( transaction, out connections ) ) 193if (txnFound = _transactedCxns.TryGetValue(transaction, out connections)) 260if (_transactedCxns.TryGetValue(transaction, out connections))
fx\src\data\System\Data\SqlClient\LocalDBAPI.cs (1)
334if (!s_configurableInstances.TryGetValue(instance,out instanceInfo))
fx\src\data\System\Data\SqlClient\SqlCommand.cs (3)
3855if (!columnEncryptionKeyTable.TryGetValue(currentOrdinal, out cipherInfoEntry)) { 3929if (!columnEncryptionKeyTable.TryGetValue(requestedKey, out cipherInfo)) { 4001if (!columnEncryptionKeyTable.TryGetValue(columnEncryptionKeyOrdinal, out cipherInfoEntry)) {
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
226if (_SystemColumnEncryptionKeyStoreProviders.TryGetValue(providerName, out columnKeyStoreProvider))
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (4)
1000if (_keywords.TryGetValue(keyword, out index)) { 1036if (_keywords.TryGetValue(keyword, out index)) { 1202return _keywords.TryGetValue(keyword, out index) && base.ShouldSerialize(_validKeywords[(int)index]); 1207if (_keywords.TryGetValue(keyword, out index)) {
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (3)
174if (_commandHashToNotificationId.TryGetValue(commandHash, out notificationId)) { 178if (!_notificationIdToDependenciesHash.TryGetValue(notificationId, out dependencyList)) 390if (_notificationIdToDependenciesHash.TryGetValue(notificationId, out entry)) {
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
1927if (_currentSessionData._resolvedAliases.TryGetValue(host, out hostPortPair)) {
fx\src\data\System\Data\SqlClient\SqlUdtInfo.cs (1)
65if (!m_types2UdtInfo.TryGetValue(target, out udtAttr)) {
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (1)
3161if (_pendingWritePackets.TryGetValue(pointer, out recoveredPacket)) {
System.Data.Entity (326)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (1)
406if (this.varMappings.TryGetValue(expression, out newRef))
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
493if (bindingNames.TryGetValue(input.VariableName, out nameIndex))
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\EnumerableValidator.cs (1)
143if (nameIndex.TryGetValue(name, out foundIndex))
System\Data\Common\CommandTrees\Internal\Validator.cs (2)
96if(scope.TryGetValue(varRef.VariableName, out foundType)) 125if (this.paramMappings.TryGetValue(paramRef.ParameterName, out foundParam))
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (2)
496if (!selectorPredicateMap.TryGetValue(propWhen.Property.Name, out discriminatorWhen)) 541this.replacements.TryGetValue(expression.Property.Name, out replacementValue))
System\Data\Common\DbXmlEnabledProviderManifest.cs (1)
151if (typeDictionary.TryGetValue(type, out collection))
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
1539if (null == sr.Parameters || !sr.Parameters.TryGetValue(parameter.Name, out paramRef))
System\Data\Common\EntitySql\StaticContext.cs (1)
71return (_scopeEntries.TryGetValue(key, out value));
System\Data\Common\EntitySql\TypeResolver.cs (3)
277if (!_functionDefinitions.TryGetValue(name, out overloads)) 429if (_aliasedNamespaces.TryGetValue(name, out aliasedNamespaceImport)) 592if (_includeInlineFunctions && _functionDefinitions.TryGetValue(functionName, out inlineFunctionMetadata))
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (1)
249if (null != this._replacementDictionary && this._replacementDictionary.TryGetValue(expression, out replacement))
System\Data\Common\Internal\Materialization\Shaper.cs (1)
415if (!AssociationSpaceMap.TryGetValue((AssociationType)associationType, out oSpaceAssociation))
System\Data\Common\Internal\Materialization\Translator.cs (1)
468if (!_objectTypeMappings.TryGetValue(resolvedType, out result))
System\Data\Common\QueryCache\QueryCacheManager.cs (2)
146if (!_cacheData.TryGetValue(inQueryCacheEntry.QueryCacheKey, out outQueryCacheEntry)) 228bHit = _cacheData.TryGetValue(queryCacheKey, out queryCacheEntry);
System\Data\Common\Utils\AliasGenerator.cs (1)
58while ((null == (prefixCounter = _prefixCounter)) || !prefixCounter.TryGetValue(prefix, out _cache))
System\Data\Common\Utils\Boolean\ConversionContext.cs (3)
68if (!_variableMap.TryGetValue(term, out variable)) 145if (!_domainVariableToRobddVariableMap.TryGetValue(domainVariable, out robddVariable)) 170if (!vertexToRange.TryGetValue(successorVertex, out range))
System\Data\Common\Utils\Boolean\Solver.cs (3)
131if (_knownVertices.TryGetValue(result, out canonicalResult)) 177if (_computedIfThenElseValues.TryGetValue(key, out result)) 297Debug.Assert(_knownVertices.TryGetValue(vertex, out comparisonVertex) &&
System\Data\Common\Utils\KeyToListMap.cs (3)
75if (!m_map.TryGetValue(key, out valueList)) { 109if (m_map.TryGetValue(key, out list)) 122if (m_map.TryGetValue(key, out values)) {
System\Data\Common\Utils\Memoizer.cs (2)
60if (!_resultCache.TryGetValue(arg, out result)) 97return _resultCache.TryGetValue(arg, out result);
System\Data\EntityModel\SchemaObjectModel\RelationshipEndCollection.cs (1)
158return EndLookup.TryGetValue( name, out end );
System\Data\EntityModel\SchemaObjectModel\SchemaElementLookUpTable.cs (2)
68if (KeyToType.TryGetValue(key, out element)) 133if (KeyToType.TryGetValue(key, out element))
System\Data\EntityModel\SchemaObjectModel\SchemaLookupTable.cs (1)
93return _aliasToNamespaceMap.TryGetValue(alias, out namespaceName);
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (7)
121if (_facetValues.TryGetValue(defaultFacet.Name, out value)) 379if (facets.TryGetValue(EdmProviderManifest.PrecisionFacetName, out precisionFacet) && precisionFacet.Value != null) 398if (facets.TryGetValue(EdmProviderManifest.ScaleFacetName, out scaleFacet) && scaleFacet.Value != null) 436if (facets.TryGetValue(EdmProviderManifest.PrecisionFacetName, out precisionFacet) && precisionFacet.Value != null) 471if (!facets.TryGetValue(EdmProviderManifest.MaxLengthFacetName, out maxLenFacet) || maxLenFacet.Value == null) 506&& (!facets.TryGetValue(EdmProviderManifest.IsStrictFacetName, out isStrictFacet) || (bool)isStrictFacet.Value != false)) 514if (!facets.TryGetValue(EdmProviderManifest.SridFacetName, out sridFacet) || sridFacet.Value == null)
System\Data\Mapping\DefaultObjectMappingItemCollection.cs (6)
98if (cdmTypeIndexes.TryGetValue(identity, out index)) 126if (clrTypeIndexes.TryGetValue(identity, out index)) 248if (cdmTypeIndexes.TryGetValue(edmType.Identity, out index)) 260if (clrTypeIndexes.TryGetValue(edmType.Identity, out index)) 813if (typeMappings.TryGetValue(edmType.FullName, out objectTypeMapping)) 836if (cdmTypeIndexes.TryGetValue(cspaceItem.Identity, out index))
System\Data\Mapping\FunctionImportMapping.cs (1)
116if (columnMap.TryGetValue(discriminatorColumn, out mappingCondition))
System\Data\Mapping\FunctionImportMappingComposable.cs (1)
196if (op.Var.VarType == VarType.Parameter && m_viewArguments.TryGetValue(((ParameterVar)op.Var).ParameterName, out argNode))
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
736if (!this.m_itemsAlreadySeen.TryGetValue(o, out indexSeen))
System\Data\Mapping\ObjectTypeMapping.cs (1)
166m_memberMapping.TryGetValue(propertyName, out memberMapping);
System\Data\Mapping\StorageEntityContainerMapping.cs (3)
269m_entitySetMappings.TryGetValue(entitySetName, out setMapping); 281m_associationSetMappings.TryGetValue(relationshipSetName, out setMapping); 427return m_functionImportMappings.TryGetValue(functionImport, out mapping);
System\Data\Mapping\StorageMappingItemCollection.cs (1)
797if (!userDefinedQueryViewsDict.TryGetValue(setMapping.Set, out generatedView))
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (5)
67TryGetUserDefinedQueryView = userDefinedQueryViewsDict.TryGetValue; 68TryGetUserDefinedQueryViewOfType = userDefinedQueryViewsOfTypeDict.TryGetValue; 149if (!resultDictionary.TryGetValue(keyValuePair.Key, out generatedView)) 354if (!generatedViews.TryGetValue(extent, out view)) 520if (!extentMappingViews.TryGetValue(extent, out generatedView))
System\Data\Mapping\StorageMappingItemLoader.cs (5)
606if (counts.TryGetValue(key, out count)) 1225if (associationEnds.TryGetValue(associationSet, out existingEnd) && 2470if (functionImportKB.ReturnTypeColumnsRenameMapping.TryGetValue(property.Name, out columnRenameMapping)) 3526m_alias.TryGetValue(aliasKey, out aliasValue); 3603if (!m_scalarMemberMappings.TryGetValue(member, out memberMappingInfo))
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (2)
185if (identifierValues.TryGetValue(inputIdentifier.Key, out value)) 233if (mappings.TryGetValue((DbSetClause)originalClauses[idx], out replacementClause))
System\Data\Mapping\Update\Internal\FunctionMappingTranslator.cs (2)
241? currentReferenceEnds.TryGetValue(endMember, out relationshipEntry) 242: originalReferenceEnds.TryGetValue(endMember, out relationshipEntry);
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (1)
227if (identifierValues.TryGetValue(inputIdentifier.Key, out value))
System\Data\Mapping\Update\Internal\Graph.cs (4)
117if (!m_successorMap.TryGetValue(from, out successors)) 126if (!m_predecessorCounts.TryGetValue(to, out predecessorCount)) 153if (!m_predecessorCounts.TryGetValue(vertex, out predecessorCount) || 0 == predecessorCount) 171if (m_successorMap.TryGetValue(from, out toSet))
System\Data\Mapping\Update\Internal\KeyManager.cs (3)
111if (!_keyIdentifiers.TryGetValue(entityKey, out result)) 134if (!_foreignKeyIdentifiers.TryGetValue(position, out result)) 358return _valueKeyToTempKey.TryGetValue(valueKey, out tempKey);
System\Data\Mapping\Update\Internal\Propagator.ExtentPlaceholderCreator.cs (1)
244if (!s_typeDefaultMap.TryGetValue(primitiveTypeKind, out value))
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.cs (5)
298if (leftInserts.TryGetValue(key, out leftInsert)) { input |= Ops.LeftInsert; } 299if (leftDeletes.TryGetValue(key, out leftDelete)) { input |= Ops.LeftDelete; } 300if (rightInserts.TryGetValue(key, out rightInsert)) { input |= Ops.RightInsert; } 301if (rightDeletes.TryGetValue(key, out rightDelete)) { input |= Ops.RightDelete; } 424join = join.Replace(original => map.TryGetValue(original, out replacement) ? replacement : original);
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (4)
262if (!m_impliedRelationships.TryGetValue(actualRelationship, out entityEntry) || 281if (m_existingRelationships.TryGetValue(expectedRelationship, out existingRelationship)) 298if (m_existingRelationships.TryGetValue(relationship, out existingRelationship)) 318if (!m_referencingRelationshipSets.TryGetValue(entitySet, out relationshipSets))
System\Data\Mapping\Update\Internal\TableChangeProcessor.cs (3)
121bool hasDelete = deleteResults.TryGetValue(key, out deleteResult); 122bool hasInsert = insertResults.TryGetValue(key, out insertResult); 193if (map.TryGetValue(key, out other))
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (1)
169if (predecessors.TryGetValue(input, out from))
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (4)
685if (!m_modificationFunctionCommandDefinitions.TryGetValue(functionMapping, out commandDefinition)) 747if (!m_extractorMetadata.TryGetValue(key, out metadata)) 1116if (!m_changes.TryGetValue(extent, out changeNode)) 1137if (!m_functionChanges.TryGetValue(extent, out entries))
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (2)
408if (extentLOJs.TryGetValue(fkExtent, out fkExtentLOJ) && 476while (nestedExtents.TryGetValue(parent, out parent));
System\Data\Mapping\ViewGeneration\CellCreator.cs (1)
128if (!cSideMembersForSSideExpansionCandidates.TryGetValue(sSideMemberToExpand, out cSidePaths))
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (3)
204if (propertyMap.TryGetValue(property, out existingAssignment)) 218if (!typeToRelPropertyMap.TryGetValue(entityType, out relPropertyList)) 229if (relPropertyMap.TryGetValue(relProperty, out existingAssignment))
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (2)
900if (attributeConditions.TryGetValue(attribute, out remainingCondition)) 993if (attributeConditions.TryGetValue(projectedAttribute, out currentAttributeCondition))
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (2)
254if (memberValueTrees.TryGetValue(new MemberValueBinding(column, domainValue), out sQueryTreeForDomainValue)) 468return (_memberValueTrees.TryGetValue(new MemberValueBinding(memberPath, value), out singleNode));
System\Data\Mapping\ViewGeneration\Structures\BoolExpression.cs (1)
309return remap.TryGetValue(BoolExpression.GetBoolLiteral(term), out newLiteral) ?
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (2)
358bool found = cDomainMap.TryGetValue(slot.MemberPath, out values); 446if (!updateDomainMap.TryGetValue(sSlotMemberPath, out sSlotDomain))
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (3)
95if (!domainMap.TryGetValue(memberPath, out domainValues)) 367bool found = m_conditionDomainMap.TryGetValue(path, out result); 389if (false == m_conditionDomainMap.TryGetValue(member, out possibleValues))
System\Data\Mapping\ViewGeneration\Structures\MemberProjectedSlot.cs (1)
126if (remap.TryGetValue(MemberPath, out remappedNode))
System\Data\Mapping\ViewGeneration\Structures\MemberProjectionIndex.cs (2)
101if (m_indexMap.TryGetValue(member, out index)) 117if (false == m_indexMap.TryGetValue(member, out index))
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (1)
245if (!condMembersValues.TryGetValue(memberPath, out values))
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (1)
227return m_rewritingCache.TryGetValue(query, out rewriting);
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (3)
389if (!m_queryRewriterCache.TryGetValue(extent, out queryRewriter)) 483m_queryRewriterCache.TryGetValue(constraint.ChildTable, out childRewriter); 484m_queryRewriterCache.TryGetValue(constraint.ParentTable, out parentRewriter);
System\Data\Metadata\Converter.cs (5)
189if (newGlobalItems.TryGetValue(element, out item)) 866if (!somFunction.IsFunctionImport && newGlobalItems.TryGetValue(somFunction, out globalItem)) 1271if (newFacets.TryGetValue(sourceFacet.Name, out targetFacet)) 1423if (_nullFacetsTypeUsage.TryGetValue(edmType, out result)) 1445if (_nullFacetsCollectionTypeUsage.TryGetValue(edmType, out result))
System\Data\Metadata\Edm\EntityType.cs (1)
109return null != _memberSql && _memberSql.TryGetValue(member, out sql);
System\Data\Metadata\Edm\ItemCollection.cs (2)
338if (functionCollection.TryGetValue(functionName, out functionOverloads)) 496if (!tempFunctionLookUpTable.TryGetValue(function.FullName, out functionList))
System\Data\Metadata\Edm\MetadataCollection.cs (2)
227if (collectionData.IdentityDictionary.TryGetValue(identity, out orderIndex)) 487if (collectionData.IdentityDictionary.TryGetValue(identity, out orderIndex))
System\Data\Metadata\Edm\Provider\EdmProviderManifest.cs (1)
96if (_facetDescriptions.TryGetValue(type as PrimitiveType, out collection))
System\Data\Metadata\EdmItemCollection.OcAssemblyCache.cs (1)
36return _conventionalOcCache.TryGetValue(assemblyToLookup, out cacheEntry);
System\Data\Metadata\EdmValidator.cs (1)
526if (allMembers.TryGetValue(member.Name, out baseMember))
System\Data\Metadata\MetadataCache.cs (1)
324if (cache.TryGetValue(cacheKey, out entry))
System\Data\Metadata\ObjectItemCollection.cs (2)
270if (typesInLoading.TryGetValue(relationshipName, out edmType) && Helper.IsRelationshipType(edmType)) 580return _ocMapping.TryGetValue(cspaceType.Identity, out edmType);
System\Data\Metadata\ObjectLayer\KnownAssembliesSet.cs (2)
46if (!_assemblies.TryGetValue(assembly, out entry)) 78if (_assemblies.TryGetValue(assembly, out current))
System\Data\Metadata\ObjectLayer\LockedAssemblyCache.cs (1)
58return _globalAssemblyCache.TryGetValue(assembly, out cacheEntry);
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (2)
88if (SessionData.TypesInLoading.TryGetValue(clrType.FullName, out edmType) || 552if (SessionData.TypesInLoading.TryGetValue(attribute.RelationshipNamespaceName + "." + attribute.RelationshipName, out type) &&
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (9)
90if (SessionData.ConventionCSpaceTypeNames.TryGetValue(type.Name, out pair)) 338bool foundValue = SessionData.CspaceToOspace.TryGetValue(baseCSpaceType, out ospaceType); 488if (SessionData.CspaceToOspace.TryGetValue((StructuralType)cspaceProperty.TypeUsage.EdmType, out propertyType)) 509if (SessionData.CspaceToOspace.TryGetValue(cspaceProperty.RelationshipType, out ospaceRelationship)) 518foundTarget = SessionData.CspaceToOspace.TryGetValue((StructuralType)((CollectionType)cspaceProperty.TypeUsage.EdmType).TypeUsage.EdmType, out findType); 529foundTarget = SessionData.CspaceToOspace.TryGetValue((StructuralType)cspaceProperty.TypeUsage.EdmType, out findType); 641if (SessionData.CspaceToOspace.TryGetValue(cspaceProperty.TypeUsage.EdmType, out propertyType)) 690if (SessionData.CspaceToOspace.TryGetValue(GetRelationshipEndType(cspaceAssociation.RelationshipEndMembers[0]), out ospaceEndTypes[0]) && 691SessionData.CspaceToOspace.TryGetValue(GetRelationshipEndType(cspaceAssociation.RelationshipEndMembers[1]), out ospaceEndTypes[1]))
System\Data\Metadata\ObjectLayer\ObjectItemLoadingSessionData.cs (1)
86if (_conventionCSpaceTypeNames.TryGetValue(edmType.Name, out pair))
System\Data\Metadata\StoreItemCollection.cs (1)
331if (this.FunctionLookUpTable.TryGetValue(functionName, out functionOverloads))
System\Data\Objects\DataClasses\EntityReference.cs (1)
510if (changedFKs.TryGetValue(dependentOrdinal, out previouslySetValue))
System\Data\Objects\DataClasses\RelatedEnd.cs (1)
2185wrappedEntity.Context.ObjectStateManager.TransactionManager.PromotedKeyEntries.TryGetValue(wrappedEntity.Entity, out entry))
System\Data\Objects\DataClasses\RelationshipManager.cs (2)
633types.TryGetValue(identityName, out entityType); 1097transManager.PromotedKeyEntries.TryGetValue(wrappedOwner.Entity, out entry))
System\Data\Objects\ELinq\CompiledELinqQueryState.cs (1)
252if (_parameterToValueLookup.TryGetValue(p, out value))
System\Data\Objects\ELinq\ExpressionConverter.cs (4)
291if (_initializers != null && _initializers.TryGetValue(metadata.ClrType, out existingMetadata)) 354if (_spanMappings.TryGetValue(expression, out storedSpan)) 381return _spanMappings.TryGetValue(expression, out span); 914if (s_translators.TryGetValue(linq.NodeType, out translator))
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (1)
77if (_patterns.TryGetValue(b.Left, out pattern) && pattern.Kind == PatternKind.Compare && IsConstantZero(b.Right))
System\Data\Objects\ELinq\MethodCallTranslator.cs (7)
40s_sequenceTranslators.TryGetValue(sequenceMethod, out sequenceTranslator)) 55if (s_objectQueryTranslators.TryGetValue(linq.Method.Name, out builderTranslator)) 153if (s_methodTranslators.TryGetValue(methodInfo, out callTranslator)) 168return s_methodTranslators.TryGetValue(methodInfo, out callTranslator); 375bool translatorFound = s_sequenceTranslators.TryGetValue(sequenceEquivalent, out _translator); 545if (s_alternativeMethods.TryGetValue(originalMethodInfo, out suggestedMethodInfo)) 560return s_alternativeMethods.TryGetValue(originalMethodInfo, out suggestedMethodInfo);
System\Data\Objects\ELinq\ReflectionUtil.cs (4)
348if (map.TryGetValue(canonicalMethod, out sequenceMethod)) 367return s_methodMap.TryGetValue(method, out sequenceMethod); 413return s_inverseMap.TryGetValue(sequenceMethod, out method); 470if (null != genericArgumentOrdinals && genericArgumentOrdinals.TryGetValue(type, out ordinal))
System\Data\Objects\ELinq\SpatialMethodCallTranslator.cs (1)
231if(!methodFunctionRenames.TryGetValue(method, out canonicalFunctionName))
System\Data\Objects\ELinq\SpatialPropertyTranslator.cs (1)
152if(!propertyFunctionRenames.TryGetValue(property, out canonicalFunctionName))
System\Data\Objects\ELinq\Translator.cs (2)
243if (s_propertyTranslators.TryGetValue(propertyInfo, out translatorInstance)) 260if (s_propertyTranslators.TryGetValue(propertyInfo, out translatorInstance))
System\Data\Objects\EntityEntry.cs (10)
1773if (!this._originalComplexObjects.TryGetValue(userObject, out ordinal2complexObject)) 2024if (this._originalComplexObjects.TryGetValue(parentObject, out ordinal2complexObject)) 2026ordinal2complexObject.TryGetValue(parentOrdinal, out oldComplexObject); 2042if (this._originalComplexObjects.TryGetValue(userObject, out ordinal2complexObject)) 2047ordinal2complexObject.TryGetValue(ordinal, out oldValue); 2052if (oldValue != null && this._originalComplexObjects.TryGetValue(oldValue, out ordinal2complexObject)) 2232if (!this.ObjectStateManager.TransactionManager.WrappedEntities.TryGetValue(o, out relatedWrapper)) 2373if (!relationships.TryGetValue(relatedEnd.WrappedOwner, out alreadyDetectedRelationshipsFrom)) 2380if (!alreadyDetectedRelationshipsFrom.TryGetValue(relatedEnd, out objectsInRelatedEnd)) 3868if (!relatedEntities.TryGetValue(reference, out entityKeys))
System\Data\Objects\Internal\EntityProxyFactory.cs (4)
67if (!s_ModuleBuilders.TryGetValue(assembly, out moduleBuilder)) 107return s_ProxyNameMap.TryGetValue(new Tuple<Type, string>(clrType, entityTypeName), out proxyTypeInfo); 120return s_ProxyTypeMap.TryGetValue(proxyType, out proxyTypeInfo); 242if (!s_ProxyNameMap.TryGetValue(proxyIdentiy, out proxyTypeInfo) && CanProxyType(ospaceEntityType))
System\Data\Objects\Internal\EntityProxyTypeInfo.cs (1)
173return _navigationPropertyAssociationTypes.TryGetValue(new Tuple<string, string>(relationshipName, targetRoleName), out associationType);
System\Data\Objects\Internal\EntityWrapperFactory.cs (1)
246if (stateManager.TransactionManager.WrappedEntities.TryGetValue(entity, out wrapper))
System\Data\Objects\Internal\ObjectFullSpanRewriter.cs (1)
123if (!parentInfo.Children.TryGetValue(nextNavProp, out nextChild))
System\Data\Objects\Internal\ObjectSpanRewriter.cs (1)
414if (!spannedColumns.TryGetValue(idx, out columnDef))
System\Data\Objects\ObjectContext.cs (1)
1256if (!currentKeys.TryGetValue(entitySet, out setKeys))
System\Data\Objects\ObjectStateManager.cs (45)
484if (!_danglingForeignKeys.TryGetValue(foreignKey, out danglingEntries)) 534if (_danglingForeignKeys.TryGetValue(foreignKey, out danglingEntries)) 560if (_danglingForeignKeys.TryGetValue(foreignKey, out foundEntries)) 764if (!this.TransactionManager.PromotedRelationships.TryGetValue(relatedEnd, out entities)) 1619bool result = (((null != _unchangedRelationshipStore) && _unchangedRelationshipStore.TryGetValue(relationshipWrapper, out entry)) || 1620((null != _deletedRelationshipStore) && _deletedRelationshipStore.TryGetValue(relationshipWrapper, out entry)) || 1621((null != _addedRelationshipStore) && _addedRelationshipStore.TryGetValue(relationshipWrapper, out entry))); 1693result = _addedEntityStore.TryGetValue(entry.EntityKey, out entrya); 1697result |= _modifiedEntityStore.TryGetValue(entry.EntityKey, out entrya); 1701result |= _deletedEntityStore.TryGetValue(entry.EntityKey, out entrya); 1705result |= _unchangedEntityStore.TryGetValue(entry.EntityKey, out entrya); 1724if (_keylessEntityStore.TryGetValue(entry.Entity, out keylessEntry)) 1755if (_keylessEntityStore.TryGetValue(entity, out entryRef)) 2562result = ((null != _addedEntityStore) && _addedEntityStore.TryGetValue(key, out entry)); 2566result = (((null != _unchangedEntityStore) && _unchangedEntityStore.TryGetValue(key, out entry)) || 2567((null != _modifiedEntityStore) && _modifiedEntityStore.TryGetValue(key, out entry)) || 2568((null != _deletedEntityStore) && _deletedEntityStore.TryGetValue(key, out entry))); 2979if (!_metadataMapping.TryGetValue(new EntitySetQualifiedType(entityType, entitySet), out typeMetadata)) 3001if (!_metadataStore.TryGetValue(edmType, out typeMetadata)) 3024if (!_metadataStore.TryGetValue(edmType, out typeMetadata)) 3123tm.AddedRelationshipsByGraph.TryGetValue(entry.WrappedEntity, out addedRelationshipsByGraph); 3125tm.AddedRelationshipsByForeignKey.TryGetValue(entry.WrappedEntity, out addedRelationshipsByForeignKey); 3207addedRelationshipsByForeignKey.TryGetValue(pair.Key, out newFks); 3213if (tm.AddedRelationshipsByPrincipalKey.TryGetValue(entry.WrappedEntity, out addedRelationshipsByPrincipalKey)) 3215addedRelationshipsByPrincipalKey.TryGetValue(pair.Key, out newFks); 3237if (tm.DeletedRelationshipsByForeignKey.TryGetValue(entry.WrappedEntity, out deletedRelationshipsByForeignKey)) 3240if (deletedRelationshipsByForeignKey.TryGetValue(pair.Key, out removedKeys)) 3351tm.AddedRelationshipsByForeignKey.TryGetValue(entry.WrappedEntity, out addedRelationshipsByForeignKey)) 3353addedRelationshipsByForeignKey.TryGetValue(relatedEnd, out entityKeysOfAddedObjects); 3361if (tm.AddedRelationshipsByGraph.TryGetValue(entry.WrappedEntity, out addedRelationshipsByGraph)) 3363addedRelationshipsByGraph.TryGetValue(relatedEnd, out entitiesToAdd); 3477tm.DeletedRelationshipsByForeignKey.TryGetValue(entry.WrappedEntity, out deletedRelationshipsByForeignKey)) 3479deletedRelationshipsByForeignKey.TryGetValue(relatedEnd as EntityReference, out entityKeysOfDeletedObjects); 3486if (tm.DeletedRelationshipsByGraph.TryGetValue(entry.WrappedEntity, out deletedRelationshipsByGraph)) 3488deletedRelationshipsByGraph.TryGetValue(relatedEnd, out entitiesToDelete); 3615if (TransactionManager.DeletedRelationshipsByForeignKey.TryGetValue(relatedEntity, out deletedRelationshipsByForeignKey) && 3616deletedRelationshipsByForeignKey.TryGetValue(otherEnd, out entityKeysOfDeletedObjects) && 3618TransactionManager.DeletedRelationshipsByGraph.TryGetValue(relatedEntity, out deletedRelationshipsByGraph) && 3619deletedRelationshipsByGraph.TryGetValue(otherEnd, out entitiesToDelete)) 3641TransactionManager.AddedRelationshipsByGraph.TryGetValue(wrappedOwner, out addedRelationshipsByGraph) && 3642addedRelationshipsByGraph.TryGetValue(reference, out entitiesToAdd) && 3666if (tm.AddedRelationshipsByForeignKey.TryGetValue(wrappedEntity, out addedRelationshipsByForeignKey) && 3667addedRelationshipsByForeignKey.TryGetValue(reference, out entityKeysOfAddedObjects) && 3675if (tm.AddedRelationshipsByGraph.TryGetValue(wrappedEntity, out addedRelationshipsByGraph) && 3676addedRelationshipsByGraph.TryGetValue(reference, out entitiesToAdd) &&
System\Data\Objects\ObjectStateManagerMetadata.cs (2)
241if (String.IsNullOrEmpty(name) || !_objectNameToOrdinal.TryGetValue(name, out ordinal)) 250if (String.IsNullOrEmpty(name) || !_cLayerNameToOrdinal.TryGetValue(name, out ordinal))
System\Data\Objects\SpanIndex.cs (2)
87if (_rowMap != null && _rowMap.TryGetValue(spannedRowType, out retType)) 121if (_spanMap != null && _spanMap.TryGetValue(rowType, out retMap))
System\Data\Query\InternalTrees\ColumnMapCopier.cs (1)
95while (replacementVarMap.TryGetValue(replacementVar, out originalVar))
System\Data\Query\InternalTrees\Metadata.cs (1)
85if (!columnMap.TryGetValue(p.Name, out keyColumn))
System\Data\Query\InternalTrees\OpCopier.cs (2)
115if (m_varMap.TryGetValue(v, out mappedVar)) 510if (!m_varMap.TryGetValue(op.Var, out newVar))
System\Data\Query\InternalTrees\RelPropertyHelper.cs (2)
139if (!_relPropertyMap.TryGetValue(entityType, out propList)) 197if (_relPropertyMap.TryGetValue(entityType, out relProperties))
System\Data\Query\InternalTrees\Vars.cs (2)
474if (!varMap.TryGetValue(v, out newVar)) 614if (!reverseMap.TryGetValue(kv.Value, out x))
System\Data\Query\PlanCompiler\AggregatePushdown.cs (6)
226if (!_groupAggregateVarRelatedVarPropertyToInfo.TryGetValue(var, out varPropertyDictionary)) 247return this._groupAggregateVarRelatedVarToInfo.TryGetValue(var, out groupAggregateVarRefInfo); 266if (_groupAggregateVarRelatedVarPropertyToInfo == null || !_groupAggregateVarRelatedVarPropertyToInfo.TryGetValue(var, out varPropertyDictionary)) 271return varPropertyDictionary.TryGetValue(property, out groupAggregateVarRefInfo); 490if (constantDefinitions.TryGetValue(outputVar, out constantDefinitionNode)) 650tryGetParent = groupRefComputingVisitor._childToParent.TryGetValue;
System\Data\Query\PlanCompiler\ColumnMapTranslator.cs (3)
91while (replacementVarMap.TryGetValue(replacementVar, out originalVar)) 131if (varToColumnMap.TryGetValue(varRefColumnMap.Var, out columnMap)) 194if (!varToCommandColumnMap.TryGetValue(varRefColumnMap.Var, out commandAndColumn))
System\Data\Query\PlanCompiler\ConstraintManager.cs (3)
124return m_keyMap.TryGetValue(childPropertyName, out parentPropertyName); 220return m_parentChildRelationships.TryGetValue(extentPair, out constraints); 260if (!m_parentChildRelationships.TryGetValue(fkConstraint.Pair, out fkConstraintList))
System\Data\Query\PlanCompiler\CTreeGenerator.cs (3)
307if (_definedVars.TryGetValue(targetVar, out foundExpr)) 589if (!_addedParams.TryGetValue(paramVar, out paramRef)) 1138if (!aliasMap.TryGetValue(columnName, out aliasGenerator))
System\Data\Query\PlanCompiler\ITreeGenerator.cs (3)
184if (_treeGen.VarMap.TryGetValue(sourceNode, out sourceVar)) 389if (_functionsIsPredicateFlag.TryGetValue(expr, out isPredicateFunction)) 408if (_functionsIsPredicateFlag.TryGetValue(expr, out isPredicateFunction))
System\Data\Query\PlanCompiler\JoinGraph.cs (11)
761if (!m_tableVertexMap.TryGetValue(leftVar.Table, out leftTableNode)) 765if (!m_tableVertexMap.TryGetValue(rightVar.Table, out rightTableNode)) 1539if (m_reverseVarMap.TryGetValue(replacedVar, out oldReplacedVars)) 1545if (!m_reverseVarMap.TryGetValue(replacingVar, out replacedVars)) 1753if (!groupedEdges.TryGetValue(joinEdge.Right.Table.TableMetadata.Extent, out edges)) 1973if (m_reverseVarMap.TryGetValue(key, out replacedVars)) 2298while (m_varMap.TryGetValue(newVar1, out newVar2)) 2408if (!m_varMap.TryGetValue(var, out newVar)) 2421if (!m_varMap.TryGetValue(joinNode.LeftVars[i], out newLeftVar)) 2425if (!m_varMap.TryGetValue(joinNode.RightVars[i], out newRightVar)) 2757if (m_varToDefiningNodeMap.TryGetValue(var, out node))
System\Data\Query\PlanCompiler\NestPullup.cs (6)
169while (m_varRefMap.TryGetValue(x, out x)) 217if (varMap.TryGetValue(sortKey.Var, out replacementVar)) 237if (varMap.TryGetValue(v, out mappedVar)) 1015if (m_definingNodeMap.TryGetValue(refVar, out physicalProjectNode)) 1778bool found = m_definingNodeMap.TryGetValue(refVar, out refVarDefiningNode); 1859if (m_definingNodeMap.TryGetValue(keyDefiningVar, out keyDefiningNode))
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (2)
234if (m_typeToNewTypeMap.TryGetValue(type, out newType)) 1462if (m_tvfResultKeys.TryGetValue(tvf, out keys))
System\Data\Query\PlanCompiler\PreProcessor.cs (2)
418if (!m_discriminatorMaps.TryGetValue(entitySet, out discriminatorMapInfo)) 1714if (!prebuiltExpressions.TryGetValue(r, out relPropNode))
System\Data\Query\PlanCompiler\PropertyPushdownHelper.cs (2)
132if (!m_nodePropertyRefMap.TryGetValue(node, out propRefs)) 159if (!m_varPropertyRefMap.TryGetValue(v, out propRefs))
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (6)
215if (!m_entityTypeToEntitySetMap.TryGetValue(rootType, out set)) 231if (!m_entitySetToEntitySetIdMap.TryGetValue(e, out result)) 262if (!m_typeInfoMap.TryGetValue(type, out typeInfo)) 291else if (m_entityTypeToEntitySetMap.TryGetValue(rootType, out other)) 447if (!m_entityTypeToEntitySetMap.TryGetValue(rootEntityType, out entitySet)) 459return m_discriminatorMaps.TryGetValue(entitySet, out discriminatorMap);
System\Data\Query\PlanCompiler\SubqueryTrackingVisitor.cs (4)
64if (!m_nodeSubqueries.TryGetValue(relOpNode, out nestedSubqueries)) 203if (m_nodeSubqueries.TryGetValue(n, out nestedSubqueries) && nestedSubqueries.Count > 0) 235if (!m_nodeSubqueries.TryGetValue(n, out nestedSubqueries)) 269if (m_nodeSubqueries.TryGetValue(n, out nestedSubqueries))
System\Data\Query\PlanCompiler\TransformationRules.cs (5)
96if (varMap.TryGetValue(varRefOp.Var, out newNode)) 312varRefMap.TryGetValue(varDefOp.Var, out refCount) && 319if (varMap.TryGetValue(varDefOp.Var, out n)) 563if (!varRefMap.TryGetValue(varRefOp.Var, out refCount)) 4072if (m_varReplacementTable.TryGetValue(op.Var, out replacementNode))
System\Data\Query\PlanCompiler\TypeInfo.cs (1)
614bool result = m_propertyMap.TryGetValue(propertyRef, out property);
System\Data\Query\PlanCompiler\VarInfo.cs (2)
184return m_propertyToVarMap.TryGetValue(p, out v); 332return m_map.TryGetValue(v, out varInfo);
System\Data\Query\PlanCompiler\VarRefManager.cs (1)
77while (continueUp & m_nodeToParentMap.TryGetValue(currentChild, out parent))
System\Data\Query\PlanCompiler\VarRemapper.cs (1)
146if (!m_varMap.TryGetValue(v, out newVar))
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (1)
388if (translator.MemberValues.TryGetValue(keyMember, out value))
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (1)
434if (columnNames.TryGetValue(name, out i))
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (3)
763if (staticMethodsMap.TryGetValue(functionExpression.Function.Name, out staticFunctionHandler)) 767else if (instancePropertiesMap.TryGetValue(functionExpression.Function.Name, out instancePropertyName)) 777if (!renamedInstanceMethodsMap.TryGetValue(functionExpression.Function.Name, out effectiveFunctionName))
System\Data\SqlClient\SqlGen\SqlGenerator.cs (3)
2368if (symbol != null && symbol.OutputColumns.TryGetValue(e.Property.Name, out colSymbol)) 3529symbol.OutputColumns.TryGetValue(columnName, out inputSymbol); 3533if (!symbol.Columns.TryGetValue(columnName, out columnSymbol))
System\Data\SqlClient\SqlGen\Symbol.cs (1)
148if (sqlGenerator.AllColumnNames.TryGetValue(this.NewName, out i))
System\Data\SqlClient\SqlGen\SymbolUsageManager.cs (2)
45if (optionalColumnUsage.TryGetValue(key, out wrapper)) 58if (sourceSymbol == null || !this.optionalColumnUsage.TryGetValue(sourceSymbol, out wrapper))
System\Data\SqlClient\SqlSpatialServices.cs (2)
62if (otherSpatialServices == null || !otherSpatialServices.TryGetValue(assembly.FullName, out services)) 66if (otherSpatialServices == null || !otherSpatialServices.TryGetValue(assembly.FullName, out services))
System.Data.Entity.Design (15)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
399if (_errorsLookup.TryGetValue(type, out errors))
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (1)
107return _identifierToAdjustedIdentifier.TryGetValue(value, out adjustedIdentifier);
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (4)
654if (session.CandidateCollapsedAssociations.TryGetValue(end.EntitySet, out collapsed)) 766if (session.MappingLookups.StoreEntityTypeToModelEntityType.TryGetValue(storeEntityType, out foundEntity)) 788if (isKey || this.GenerateForeignKeyProperties || !session.FkProperties.TryGetValue(storeProperty, out association)) 877if (! session.MappingLookups.StoreAssociationTypeToModelAssociationType.TryGetValue(storeAssociationSet.ElementType, out association))
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (5)
613if (tvfReturnType != null && session.ItemToErrorsMap.TryGetValue(tvfReturnType, out tvfReturnTypeErrors)) 1343if (facets.TryGetValue(DbProviderManifest.PrecisionFacetName, out precision)) 1367if (facets.TryGetValue(DbProviderManifest.ScaleFacetName, out scale)) 1396if (facets.TryGetValue(DbProviderManifest.PrecisionFacetName, out datetimePrecision)) 1424if (facets.TryGetValue(DbProviderManifest.MaxLengthFacetName, out maxLength))
System\Data\Entity\Design\EntityStoreSchemaGenerator\EntityStoreSchemaGenerator.LoadMethodSessionState.cs (3)
93if (_entityLookup.TryGetValue(key, out type)) 119bool value = _reverseEntityLookup.TryGetValue(type, out key); 131return _tvfReturnTypeLookup.TryGetValue(key, out type);
System\Data\EntityModel\EdmToObjectNamespaceMap.cs (1)
62return _map.TryGetValue(edmNamespace, out objectNamespace);
System.Data.Linq (64)
ChangeProcessor.cs (6)
646if (visited.TryGetValue(item, out state)) { 707if (!associations.TryGetValue(assoc, out pairs)) { 717if (associations.TryGetValue(assoc, out pairs)) { 719if (pairs.TryGetValue(from, out to)) { 740if (!references.TryGetValue(from, out refs)) { 751if (references.TryGetValue(from, out refs)) {
ChangeTracker.cs (2)
144if (!this.items.TryGetValue(obj, out ti)) { 184if (this.items.TryGetValue(sender, out ti)) {
DataContext.cs (1)
394if (!this.tables.TryGetValue(metaTable, out tb)) {
DataServices.cs (1)
286if (this.factoryMap.TryGetValue(member, out factory)) {
DataShape.cs (1)
118subqueries.TryGetValue(new MetaPosition(member), out expression);
IdentityManager.cs (1)
62if (!this.caches.TryGetValue(type, out this.currentCache)) {
Mapping\AttributedMetaModel.cs (10)
212if (this.metaTables.TryGetValue(rowType, out table)) { 231if (!this.metaTables.TryGetValue(rowType, out table)) { 238if (!this.metaTables.TryGetValue(root, out table)) { 271if (this.metaTypes.TryGetValue(type, out mtype)) { 287if (!this.metaTypes.TryGetValue(type, out mtype)) { 304this.metaFunctions.TryGetValue(new MetaPosition(method), out function); 476if (memberToColumn.TryGetValue(dn, out column)) { 497if (!this.types.TryGetValue(type, out metaType)) { 516this.types.TryGetValue(type, out metaType); 812if (this.dataMemberMap.TryGetValue(new MetaPosition(mi), out mm)) {
Mapping\MappedMetaModel.cs (15)
177this.metaTables.TryGetValue(rowType, out table); 188if (this.metaTypes.TryGetValue(type, out mtype)) { 197if (!this.metaTypes.TryGetValue(type, out mtype)) { 214this.metaFunctions.TryGetValue(new MetaPosition(method), out func); 270if (this.types.TryGetValue(name, out result)) { 274if (name2 != null && this.types.TryGetValue(name2, out result)) { 290if (this.types.TryGetValue(name, out result)) { 470if (memberToColumn.TryGetValue(dn, out column)) { 553this.derivedTypes.TryGetValue(type, out metaType); 655if (names.TryGetValue(name, out mmap)) { 659if (!map.TryGetValue(dn, out mm)) { 676if (names.TryGetValue(name, out mmap)) { 680if (!map.TryGetValue(dn, out mm)) { 892if (this.dataMemberMap.TryGetValue(InheritanceRules.DistinguishedMemberName(mi), out mm)) { 1656this.dataMemberMap.TryGetValue(dn, out mdm);
Mapping\MappingSource.cs (2)
62if (this.secondaryModels.TryGetValue(dataContextType, out foundModel)) { 72if (this.secondaryModels.TryGetValue(dataContextType, out foundModel)) {
SqlClient\Common\SqlNodeAnnotations.cs (2)
20if (!this.annotationMap.TryGetValue(node, out list)) { 35this.annotationMap.TryGetValue(node, out list);
SqlClient\Query\QueryConverter.cs (5)
1144if (this.map.TryGetValue(p, out sqlExpr)) 1147if (this.exprMap.TryGetValue(p, out expr)) 1150if (this.dupMap.TryGetValue(p, out nodeToDup)) { 1743this.gmap.TryGetValue(source, out info); 1764this.gmap.TryGetValue(expr, out info);
SqlClient\Query\SqlBinder.cs (2)
64return (this.map != null && this.map.TryGetValue(linkId, out expr)) || 1551if (this.outerAliasMap.TryGetValue(aref.Alias, out outerAlias)) {
SqlClient\Query\SqlDeflator.cs (3)
217return this.map.TryGetValue(c1, out r) && r == c2; 280if (this.removedMap.TryGetValue(alias, out value)) { 495if (this.map.TryGetValue(cref.Column, out mapped)) {
SqlClient\Query\SqlDuplicator.cs (1)
53if (this.nodeMap.TryGetValue(node, out result)) {
SqlClient\Query\SqlFlattener.cs (1)
38if (this.map.TryGetValue(cref.Column, out mapped)) {
SqlClient\Query\SqlFormatter.cs (7)
318if (!this.names.TryGetValue(c.Alias, out aliasName)) { 391this.aliasMap.TryGetValue(c, out alias); 395if (!this.names.TryGetValue(alias, out aliasName)) { 412if (!this.names.TryGetValue(c, out name)) { 593if (!this.names.TryGetValue(alias, out aliasName)) { 628if (!this.names.TryGetValue(alias, out aliasName)) { 685if (!this.names.TryGetValue(c, out name)) {
SqlClient\Query\SqlParameterizer.cs (1)
113if (!this.map.TryGetValue(cp, out pi)) {
SqlClient\Reader\ObjectReaderCompiler.cs (1)
2610if (lookup.TryGetValue(SqlIdentifier.QuoteCompoundIdentifier(namedColumns[i].Name), out ordinal)) {
SqlClient\SqlBuilder.cs (1)
97if (memberNameToMappedName.TryGetValue(dn, out mappedName)) {
SqlClient\SqlTypeSystemProvider.cs (1)
813if (!applicationTypes.TryGetValue(index, out result)) {
System.Data.Services (54)
parent\Client\System\Data\Services\Client\BatchStream.cs (4)
547if (this.contentHeaders.TryGetValue(XmlConstants.HttpContentType, out contentType)) 562if (!this.contentHeaders.TryGetValue(XmlConstants.HttpContentTransferEncoding, out transferEncoding) || 622this.contentHeaders.TryGetValue(XmlConstants.HttpContentType, out contentType); 632if (this.contentHeaders.TryGetValue(XmlConstants.HttpContentLength, out text))
System\Data\Services\Caching\MetadataCache.cs (2)
55if (!cache.TryGetValue(key, out result)) 92cache.TryGetValue(key, out result);
System\Data\Services\DataService.cs (2)
2260this.contentIdsToSegmentInfoMapping.TryGetValue(contentId.Substring(1), out segmentInfo); 2626if (batchStream.ContentHeaders.TryGetValue(XmlConstants.HttpContentID, out contentIdValue) && !String.IsNullOrEmpty(contentIdValue))
System\Data\Services\DataServiceConfiguration.cs (5)
700if (!this.resourceRights.TryGetValue(container.Name, out result)) 717if (!this.serviceRights.TryGetValue(serviceOperation.Name, out result)) 734if (!this.pageSizes.TryGetValue(container.Name, out pageSize)) 781if (this.readAuthorizationMethods.TryGetValue(resourceSet.Name, out methods)) 799if (this.writeAuthorizationMethods.TryGetValue(resourceSet.Name, out methods))
System\Data\Services\KeyInstance.cs (1)
147if (!this.namedValues.TryGetValue(property.Name, out unconvertedValue))
System\Data\Services\Parsing\RequestQueryParser.cs (2)
1849if (!functions.TryGetValue(functionToken.Text, out functionDescriptions)) 2488if (this.literals.TryGetValue(ce, out text))
System\Data\Services\Providers\BaseServiceProvider.cs (2)
425return this.metadata.ServiceOperations.TryGetValue(name, out serviceOperation); 671this.TypeCache.TryGetValue(type, out resourceType);
System\Data\Services\Providers\BasicExpandProvider.cs (2)
1997if (this.expandNodeAnnotations.TryGetValue(expression, out annotation)) 2082if (this.expandNodeAnnotations.TryGetValue(operandExpression, out operandExpandNode))
System\Data\Services\Providers\DataServiceProviderWrapper.cs (9)
521if (this.ResourceSetWrapperCache.TryGetValue(name, out resourceSetWrapper)) 552if (this.ResourceAssociationSetCache.TryGetValue(associationSetKey, out associationSet)) 614if (this.VisibleTypeCache.TryGetValue(name, out resourceType)) 676if (this.ServiceOperationWrapperCache.TryGetValue(name, out serviceOperationWrapper)) 832if (!this.ResourcePropertyCache.TryGetValue(key, out properties)) 992if (this.EntityTypeDisallowedForSet.TryGetValue(key, out result)) 1026if (this.ResourceSetWrapperCache.TryGetValue(resourceSet.Name, out resourceSetWrapper)) 1092if (this.VisibleTypeCache.TryGetValue(resourceType.FullName, out cachedType)) 1120if (this.ServiceOperationWrapperCache.TryGetValue(serviceOperation.Name, out serviceOperationWrapper))
System\Data\Services\Providers\ObjectContextServiceProvider.cs (9)
477if (this.objectsToBeReplaced.TryGetValue(targetResource, out replacedTarget)) 813if (typeRights.TryGetValue(resourceType, out previouslyFoundContainer)) 1979if (metadataManager.EntitySets.TryGetValue(container, out entitySets)) 1988if (metadataManager.AssociationSets.TryGetValue(container, out associationSets)) 2598if (!this.edmTypes.TryGetValue(typeNamespace, out typesInNamespace) || 2623if (!this.edmTypes.TryGetValue(typeNamespace, out typesInNamespace) || !typesInNamespace.Contains(endType)) 2649if (!this.entitySets.TryGetValue(container, out entitySetInContainer)) 2656if (!this.associationSets.TryGetValue(container, out associationSetInContainer)) 2713if (!this.edmTypes.TryGetValue(typeNamespace, out typesInSameNamespace))
System\Data\Services\Providers\ResourceType.cs (1)
1108if (!this.propertyInfosDeclaredOnThisType.TryGetValue(resourceProperty, out propertyInfo))
System\Data\Services\RequestQueryProcessor.cs (2)
443if (dictionary != null && dictionary.TryGetValue("UseMetadataKeyOrder", out useMetadataKeyPropertyValue)) 1051if (dictionary != null && dictionary.TryGetValue("UseMetadataKeyOrder", out useMetadataKeyPropertyValue))
System\Data\Services\Serializers\Atom10FormatterFactory.cs (1)
65if (itemToWrite.AttributeExtensions.TryGetValue(SyndicationSerializer.QualifiedNullAttribute, out value) &&
System\Data\Services\Serializers\JsonDeserializer.cs (4)
272if (jsonObject.Count == 1 && jsonObject.Entries.TryGetValue(segment.Identifier, out resource)) 299if (metadata.TryGetValue(XmlConstants.JsonUriString, out uriObject)) 693if (jsonObjectTable.TryGetValue(XmlConstants.JsonMetadataString, out metadataObject)) 705if (metadata.Entries.TryGetValue(XmlConstants.JsonTypeString, out objectTypeName))
System\Data\Services\Serializers\MetadataSerializer.cs (6)
536if (!associationsInThisNamespace.TryGetValue(associationTypeLookupName, out associationType)) 881if (!this.associationTypes.TryGetValue(typeNamespace, out associationsInThisNamespace)) 947if (!this.resourceTypes.TryGetValue(typeNamespace, out typesInSameNamespace)) 1026if (!associationTypesInNamespece.TryGetValue(associationTypeLookupKey, out associationType)) 1089if (this.associationSets.TryGetValue(associationSetKey, out associationSet)) 1123if (this.associationSets.TryGetValue(reverseAssociationSetKey, out conflictingAssociationSet))
System\Data\Services\UpdateTracker.cs (2)
145if (!this.items.TryGetValue(container, out changedItems)) 162if (changedItems.TryGetValue(target, out existingAction))
System.Data.Services.Client (52)
System\Data\Services\Client\ALinq\ExpressionNormalizer.cs (1)
129if (_patterns.TryGetValue(visited.Left, out pattern) && pattern.Kind == PatternKind.Compare && IsConstantZero(visited.Right))
System\Data\Services\Client\ALinq\InputBinder.cs (1)
164if (!targetSet.TransparentScope.SourceAccessors.TryGetValue(currentProp.Name, out source))
System\Data\Services\Client\ALinq\ReflectionUtil.cs (3)
343if (map.TryGetValue(canonicalMethod, out sequenceMethod)) 362return s_methodMap.TryGetValue(method, out sequenceMethod); 482if (null != genericArgumentOrdinals && genericArgumentOrdinals.TryGetValue(type, out ordinal))
System\Data\Services\Client\ALinq\ResourceBinder.cs (2)
178if (!predicatesByTarget.TryGetValue(boundTarget, out targetPredicates)) 190if (predicatesByTarget.TryGetValue(input, out inputPredicates))
System\Data\Services\Client\ALinq\TypeSystem.cs (3)
137return (expressionMethodMap.TryGetValue(mi, out methodName) || 139expressionVBMethodMap.TryGetValue(mi.DeclaringType.FullName + "." + mi.Name, out methodName))); 150return propertiesAsMethodsMap.TryGetValue(pi, out mi);
System\Data\Services\Client\AtomMaterializer.cs (2)
467if (materializer.nextLinkTable.TryGetValue(source, out continuation)) 1035if (this.nextLinkTable.TryGetValue(from, out continuation))
System\Data\Services\Client\AtomMaterializerLog.cs (2)
257if (this.identityStack.TryGetValue(entry.Identity, out existingEntry)) 262if (this.appendOnlyEntries.TryGetValue(entry.Identity, out existingEntry))
System\Data\Services\Client\Binding\BindingEntityInfo.cs (2)
125if (knownObservableCollectionTypes.TryGetValue(collectionType, out resultAsObject)) 264if (bindingEntityInfos.TryGetValue(entityType, out bindingEntityInfo))
System\Data\Services\Client\Binding\BindingGraph.cs (2)
625return this.vertices.TryGetValue(item, out v); 634this.vertices.TryGetValue(item, out v);
System\Data\Services\Client\ClientConvert.cs (1)
264return String.IsNullOrEmpty(typeName) || ClientConvert.namedTypesMap.TryGetValue(typeName, out type);
System\Data\Services\Client\ClientType.cs (3)
406ClientType.types.TryGetValue(type, out clientType); 423if (ClientType.types.TryGetValue(type, out existing)) 467foundInCache = ClientType.namedTypes.TryGetValue(typename, out foundType);
System\Data\Services\Client\DataServiceContext.cs (14)
483if (this.entityDescriptors.TryGetValue(entity, out descriptor)) 508if (this.bindings.TryGetValue(new LinkDescriptor(source, sourceProperty, target), out link)) 1268if (!this.bindings.TryGetValue(relation, out existing)) 1297if (this.bindings.TryGetValue(relation, out existing) && (EntityStates.Added == existing.State)) 1523if (!this.entityDescriptors.TryGetValue(entity, out resource)) 1557if (this.entityDescriptors.TryGetValue(entity, out resource)) 1576if (!this.entityDescriptors.TryGetValue(entity, out resource)) 1627this.entityDescriptors.TryGetValue(entity, out resource) && 1787if (this.bindings.TryGetValue(relation, out existing)) 1850this.entityDescriptors.TryGetValue(descriptor.Entity, out resource); 1853this.identityToDescriptor.TryGetValue(descriptor.Identity, out existing); 2116this.identityToDescriptor.TryGetValue(resourceUri, out resource)) 2641this.identityToDescriptor.TryGetValue(resource.Identity, out existing) && 3448if (!this.entityDescriptors.TryGetValue(resource, out box))
System\Data\Services\Client\DataServiceRequestArgs.cs (1)
92if (!this.headers.TryGetValue(header, out value))
System\Data\Services\Client\MaterializeFromAtom.cs (1)
450if (!this.materializer.NextLinkTable.TryGetValue(key, out result))
System\Data\Services\Client\ProjectionPlanCompiler.cs (14)
172if (this.annotations.TryGetValue(unaryResult.Operand, out annotation)) 207if (this.annotations.TryGetValue(baseTargetExpression, out annotation)) 235if (this.annotations.TryGetValue(p, out annotation)) 492if (!this.annotations.TryGetValue(testToNullForProjection, out testToNullAnnotation)) 611if (this.annotations.TryGetValue(this.pathBuilder.ParameterEntryInScope, out entryAnnotation)) 744if (this.normalizerRewrites.TryGetValue(expression, out original)) 851this.annotations.TryGetValue(result.Arguments[0], out annotation)) 868this.annotations.TryGetValue(result.Arguments[0], out annotation)) 886this.annotations.TryGetValue(result.Arguments[0], out annotation)) 909this.annotations.TryGetValue(result.Arguments[1], out annotation)) 960this.annotations.TryGetValue(parameterSource, out annotation); 1021if (this.annotations.TryGetValue(result, out annotation)) 1053this.annotations.TryGetValue(parameterSource, out annotation); 1089if (this.annotations.TryGetValue(source, out annotation))
System.Data.Services.Design (3)
System\Data\Common\Utils\Memoizer.cs (2)
57hasResult = _resultCache.TryGetValue(arg, out result); 71if (!_resultCache.TryGetValue(arg, out result))
System\Data\EntityModel\EdmToObjectNamespaceMap.cs (1)
59return _map.TryGetValue(edmNamespace, out objectNamespace);
System.Data.SqlXml (35)
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (1)
38if (!this.table.TryGetValue(this.funcCached, out func)) {
System\Xml\Xsl\Runtime\XmlILIndex.cs (2)
35if (!this.table.TryGetValue(key, out seq)) { 58if (!this.table.TryGetValue(key, out seq))
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (1)
1288if (this.conflictPrefixes.TryGetValue(ns, out genPrefix) && genPrefix != prefix) {
System\Xml\Xsl\Runtime\XsltLibrary.cs (1)
197if (decimalFormats == null || ! decimalFormats.TryGetValue(decimalFormatName, out format)) {
System\Xml\Xsl\XPath\XPathBuilder.cs (1)
485if (FunctionTable.TryGetValue(name, out func)) {
System\Xml\Xsl\Xslt\Compiler.cs (3)
117if (NsAliases.TryGetValue(nsUri, out alias)) { 126if (NsAliases.TryGetValue(ssheetNsUri, out oldNsAlias)) { 150if (!this.AttributeSets.TryGetValue(attSetName, out attSet)) {
System\Xml\Xsl\Xslt\MatcherBuilder.cs (2)
258if (!FixedNamePatterns.TryGetValue(qname, out list)) { 330if (sheet.TemplateMatches.TryGetValue(mode, out matchesForMode)) {
System\Xml\Xsl\Xslt\QilGenerator.cs (4)
1058if (compiler.NamedTemplates.TryGetValue(node.Name, out tmpl)) { 1086if (compiler.AttributeSets.TryGetValue(node.Name, out attSet)) { 2188if (! sheet.ModeFlags.TryGetValue(mode, out flags)) { 2200if (!sheet.ApplyFunctions.TryGetValue(mode, out functionsForMode)) {
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (1)
97if (FunctionTable.TryGetValue(name, out func)) {
System\Xml\Xsl\Xslt\Scripts.cs (2)
102if (nsToType.TryGetValue(ns, out type)) { 358if (script.scriptUris.TryGetValue(fileName, out uri)) {
System\Xml\Xsl\Xslt\Stylesheet.cs (2)
52if (!TemplateMatches.TryGetValue(template.Mode, out matchesForMode)) { 104if (!compiler.NamedTemplates.TryGetValue(template.Name, out old)) {
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (13)
63if (TryGetValue(v, out adjList) && adjList != null) { 76if (!TryGetValue(v1, out adjList) || adjList == null) { 82if (!TryGetValue(v2, out adjList)) { 240if (! parentModeFlags.TryGetValue(modeFlag.Key, out modeFlags)) { 251if (! parentModeFlags.TryGetValue(tmpl.Mode, out modeFlags)) { 387if (!applyTemplatesParams.TryGetValue(mn, out modePar)) { 419if (!compiler.NamedTemplates.TryGetValue(node.Name, out target)) { 609if (!compiler.AttributeSets.TryGetValue(node.Name, out attSet)) { 641if (!applyTemplatesParams.TryGetValue(mn, out par)) { 709if (!revApplyTemplatesGraph.TryGetValue(mode, out templates)) { 765revApplyTemplatesGraph.TryGetValue(template.Mode, out list) // list - ProtoTemplates that have apply-templatess mode="{template.Mode}" 965if (XPathBuilder.FunctionTable.TryGetValue(name, out xpathFunc)) { 979} else if (QilGenerator.FunctionTable.TryGetValue(name, out xsltFunc)) {
System\Xml\Xsl\Xslt\XsltLoader.cs (2)
663if (compiler.AttributeSets.TryGetValue(xslNode.Name, out usedAttSet)) { 880if (!curStylesheet.AttributeSets.TryGetValue(setName, out set)) {
System.Drawing (1)
parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
70isPresent = s_switchMap.TryGetValue(switchName, out isEnabled);
System.IdentityModel (11)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
70isPresent = s_switchMap.TryGetValue(switchName, out isEnabled);
System\IdentityModel\CryptoHelper.cs (1)
1247if (!algorithmDelegateDictionary.TryGetValue(algorithm, out delegateFunction))
System\IdentityModel\IdentityModelDictionary.cs (1)
50if (this.dictionary.TryGetValue(key, out id))
System\IdentityModel\Metadata\DisplayClaim.cs (2)
82claimTagMap.TryGetValue(claimType, out tag); 89claimDescriptionMap.TryGetValue(claimType, out description);
System\IdentityModel\Privilege.cs (1)
238if (luids.TryGetValue(privilege, out luid))
System\IdentityModel\Tokens\MruSessionSecurityTokenCache.cs (2)
132if (this.items.TryGetValue(key, out entry)) 197found = this.items.TryGetValue(key, out entry);
System\IdentityModel\Tokens\SecurityTokenHandlerCollection.cs (2)
132this.handlersByIdentifier.TryGetValue(tokenTypeIdentifier, out handler); 167this.handlersByType.TryGetValue(tokenType, out handler);
System\IdentityModel\Tokens\SessionSecurityToken.cs (1)
1024found = DomainNameMap.TryGetValue(shortDomainName, out fullDomainName);
System.IO.Compression.FileSystem (1)
parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
70isPresent = s_switchMap.TryGetValue(switchName, out isEnabled);
System.IO.Log (2)
System\IO\Log\ReservationCollection.cs (2)
257if (!this.reservations.TryGetValue(size, out count)) 276if (!this.reservations.TryGetValue(size, out count))
System.Net (2)
net\PeerToPeer\Collaboration\Peer.cs (1)
886if (!m_inviteAsyncHelperList.TryGetValue(userToken, out helper)){
net\PeerToPeer\PeerNameResolver.cs (1)
895if (!m_PeerNameResolverHelperList.TryGetValue(userState, out helper))
System.Runtime.DurableInstancing (14)
System\Runtime\DurableInstancing\InstanceOwner.cs (7)
82if (BoundHandles.TryGetValue(handle.Id, out existingHandle) && object.ReferenceEquals(handle, existingHandle)) 118if (BoundHandles.TryGetValue(reference.InstanceHandle.Id, out existingHandle)) 189if (BoundHandles.TryGetValue(reference.InstanceHandle.Id, out existingHandle)) 357if (InProgressHandlesPerInstance.TryGetValue(wasBoundToInstanceId, out instanceQueue)) 395if (!InProgressHandlesPerInstance.TryGetValue(handleRef.InstanceHandle.Id, out acceptingQueue)) 424if (!InProgressHandlesPerInstance.TryGetValue(handleRef.InstanceHandle.Id, out queue)) 452if (BoundHandles.TryGetValue(marker.InstanceHandle.Id, out existingHandle))
System\Runtime\DurableInstancing\InstanceStore.cs (7)
164if (!this.owners.TryGetValue(owner.InstanceOwnerId, out ownerReference) || !object.ReferenceEquals(ownerReference.Target, owner)) 203if (!this.owners.TryGetValue(owner.InstanceOwnerId, out ownerReference) || !object.ReferenceEquals(ownerReference.Target, owner)) 208if (!owner.Events.TryGetValue(persistenceEvent.Name, out normal)) 271if (!this.owners.TryGetValue(owner.InstanceOwnerId, out ownerReference) || !object.ReferenceEquals(ownerReference.Target, owner)) 286if (this.owners.TryGetValue(instanceOwnerId, out ownerRef)) 316if (this.owners.TryGetValue(current, out ownerRef)) 413if (!owner.Events.TryGetValue(persistenceEvent.Name, out normal))
System.Runtime.Serialization (53)
System\Runtime\Serialization\ClassDataContract.cs (3)
326if (memberNamesTable.TryGetValue(memberContract.Name, out existingMemberContract)) 1405if (boundContracts.TryGetValue(this, out boundContract)) 1496if (membersDictionary.TryGetValue(dataContract.Members[i].Name, out dataMember))
System\Runtime\Serialization\CodeExporter.cs (4)
85if (this.clrNamespaces.TryGetValue(clrNamespace, out currentDataContractNamespace)) 94if (this.namespaces.TryGetValue(dataContractNamespace, out currentClrNamespace)) 1434if (!Namespaces.TryGetValue(dataContract.StableName.Namespace, out clrNamespace)) 1436if (Namespaces.TryGetValue(wildcardNamespaceMapping, out clrNamespace))
System\Runtime\Serialization\CollectionDataContract.cs (1)
1237if (boundContracts.TryGetValue(this, out boundContract))
System\Runtime\Serialization\DataContract.cs (5)
691if (!typeToBuiltInContract.TryGetValue(type, out dataContract)) 709if (!nameToBuiltInContract.TryGetValue(qname, out dataContract)) 731if (!typeNameToBuiltInContract.TryGetValue(typeName, out dataContract)) 1055if (clrTypeStrings.TryGetValue(key, out value)) 2247else if (nameToDataContractTable.TryGetValue(dataContract.StableName, out alreadyExistingContract))
System\Runtime\Serialization\DataContractSet.cs (5)
129if (Contracts.TryGetValue(name, out dataContractInSet)) 307Contracts.TryGetValue(key, out dataContract); 343if (ProcessedContracts.TryGetValue(dataContract, out info)) 416if (referencedTypes.TryGetValue(stableName, out value)) 455if (referencedTypes.TryGetValue(stableName, out value))
System\Runtime\Serialization\EnumDataContract.cs (2)
172typeToName.TryGetValue(type, out retVal); 179nameToType.TryGetValue(baseContractName, out retVal);
System\Runtime\Serialization\ExtensionDataReader.cs (3)
245if (!prefixToNsTable.TryGetValue(prefix, out ns)) 796if (!nsToPrefixTable.TryGetValue(ns, out prefix)) 800if (!nsToPrefixTable.TryGetValue(ns, out prefix))
System\Runtime\Serialization\HybridObjectCache.cs (2)
26if (objectDictionary.TryGetValue(id, out existingObject)) 52objectDictionary.TryGetValue(id, out obj);
System\Runtime\Serialization\Json\JsonDataContract.cs (1)
203if (!typeToIDCache.TryGetValue(typeHandleRef, out id))
System\Runtime\Serialization\SchemaHelper.cs (3)
67if (schemaInfo.TryGetValue(typeName, out schemaObjectInfo)) 77if (schemaInfo.TryGetValue(typeName, out schemaObjectInfo)) 120if (schemaInfo.TryGetValue(elementName, out schemaObjectInfo))
System\Runtime\Serialization\SchemaImporter.cs (6)
176if (SchemaObjects.TryGetValue(typeName, out schemaObjectInfo)) 220if (SchemaObjects.TryGetValue(SchemaExporter.AnytypeQualifiedName, out schemaObjectInfo)) 231if (!knownDataContracts.TryGetValue(dataContract.StableName, out existingContract)) 262if (schemaObjects.TryGetValue(currentTypeName, out schemaObjectInfo)) 276if (schemaObjects.TryGetValue(baseTypeName, out baseTypeInfo)) 299if (schemaObjects.TryGetValue(currentElementName, out schemaObjectInfo))
System\Runtime\Serialization\ScopedKnownTypes.cs (1)
35if (dataContractDictionary.TryGetValue(qname, out dataContract))
System\Runtime\Serialization\XmlObjectSerializerContext.cs (1)
233return serializerKnownDataContracts.TryGetValue(qname, out outDataContract) ? outDataContract : null;
System\Xml\XmlBinaryReaderSession.cs (1)
68return this.stringDict.TryGetValue(key, out result);
System\Xml\XmlBinaryWriterSession.cs (1)
152if (!dictionary.TryGetValue(key, out value))
System\Xml\XmlDictionary.cs (2)
49if (!this.lookup.TryGetValue(value, out str)) 72return this.lookup.TryGetValue(value, out result);
System\Xml\XmlMtomReader.cs (12)
155if (!header.Parameters.TryGetValue(MtomGlobals.TypeParam, out type) || MtomGlobals.XopType != type) 158if (!header.Parameters.TryGetValue(MtomGlobals.BoundaryParam, out boundary)) 163if (!header.Parameters.TryGetValue(MtomGlobals.StartParam, out start)) 166if (!header.Parameters.TryGetValue(MtomGlobals.StartInfoParam, out startInfo)) 180if (!header.Parameters.TryGetValue(MtomGlobals.CharsetParam, out charset) 234if (!header.Parameters.TryGetValue(MtomGlobals.TypeParam, out rootType) 367if (mimeParts != null && mimeParts.TryGetValue(contentID, out part)) 2195if (headers.TryGetValue(Constants.ContentType, out header)) 2206if (headers.TryGetValue(Constants.ContentID, out header)) 2217if (headers.TryGetValue(Constants.ContentTransferEncoding, out header)) 2228if (headers.TryGetValue(Constants.MimeVersion, out header)) 2272if (headers.TryGetValue(header.Name, out existingHeader))
System.ServiceModel (248)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
70isPresent = s_switchMap.TryGetValue(switchName, out isEnabled);
System\ServiceModel\Administration\ContractInstanceProvider.cs (1)
279if (ContractInstanceProvider.knownContracts.TryGetValue(contractName, out contractDescription))
System\ServiceModel\Administration\WbemProvider.cs (1)
114if (!this.wmiProviders.TryGetValue(className, out wmiProvider))
System\ServiceModel\Channels\AddressHeaderCollection.cs (1)
139if (otherHeaders.TryGetValue(pair.Key, out count))
System\ServiceModel\Channels\ChannelDemuxer.cs (1)
112else if (!this.typeDemuxers.TryGetValue(channelType, out typeDemuxer))
System\ServiceModel\Channels\ConnectionPool.cs (1)
128if (!endpointPools.TryGetValue(key, out result))
System\ServiceModel\Channels\ConnectionPoolRegistry.cs (1)
35if (registry.TryGetValue(key, out registryEntry))
System\ServiceModel\Channels\CorrelationDataMessageProperty.cs (1)
66if (this.dataProviders != null && this.dataProviders.TryGetValue(name, out entry))
System\ServiceModel\Channels\HttpTransportManager.cs (5)
157if (localAddressTables.TryGetValue(requestMethod, out addressTable)) 167if (localAddressTables.TryGetValue(string.Empty, out addressTable) 190if (!addressTables.TryGetValue(method, out addressTable)) 194if (!addressTables.TryGetValue(method, out addressTable)) 226if (!addressTables.TryGetValue(((HttpChannelListener)channelListener).Method, out addressTable))
System\ServiceModel\Channels\MsmqBindingMonitor.cs (1)
277if (!knownQueues.TryGetValue(name, out state))
System\ServiceModel\Channels\MsmqDefaultLockingQueue.cs (7)
143if (!this.lockMap.TryGetValue(message.LookupId.Value, out entry)) 184if (!this.lockMap.TryGetValue(lookupId, out entry)) 258if (!this.dtcTransMap.TryGetValue(Transaction.Current.TransactionInformation.DistributedIdentifier, out transMsgs)) 282if (this.lockMap.TryGetValue(lookupId, out entry)) 309if (this.dtcTransMap.TryGetValue(e.Transaction.TransactionInformation.DistributedIdentifier, out transMsgs)) 335if (this.dtcTransMap.TryGetValue(e.Transaction.TransactionInformation.DistributedIdentifier, out transMsgs)) 376if (!this.lockMap.TryGetValue(lookupId, out entry))
System\ServiceModel\Channels\MsmqReceiveContextLockManager.cs (3)
92if (!this.transMessages.TryGetValue(Transaction.Current.TransactionInformation.DistributedIdentifier, out transMsgs)) 140if (messageExpiryMap.TryGetValue(receiveContext.LookupId, out receiveContextFromMap)) 159if (this.transMessages.TryGetValue(e.Transaction.TransactionInformation.DistributedIdentifier, out toRemove))
System\ServiceModel\Channels\NamedPipeConnectionPool.cs (3)
97if (!this.reverseTable.TryGetValue(pipeName, out uris)) 114if (this.reverseTable.TryGetValue(pipeName, out uris)) 126return this.forwardTable.TryGetValue(uri, out pipeName);
System\ServiceModel\Channels\PeerConnector.cs (1)
540this.timerTable.TryGetValue(neighbor, out timer))
System\ServiceModel\Channels\PeerFlooder.cs (2)
761if (tables[(active + i) % buckets].TryGetValue(key, out flooded)) 961if (!this.results.TryGetValue(result, out neighbor))
System\ServiceModel\Channels\PeerHelpers.cs (1)
433protocolActions.TryGetValue(action, out result);
System\ServiceModel\Channels\PeerNodeImplementation.cs (4)
816if (peerNodes.TryGetValue(baseUri, out peerNode)) 898if (uri2SecurityProtocol.TryGetValue(via, out wrapper)) 1591if (!this.uri2SecurityProtocol.TryGetValue(via, out protocolWrapper)) 1663if (uri2SecurityProtocol.TryGetValue(via, out protocolWrapper))
System\ServiceModel\Channels\PeerService.cs (2)
74services.TryGetValue(typeof(IPeerConnectorContract), out reply); 78services.TryGetValue(typeof(IPeerFlooderContract<Message, UtilityInfo>), out reply);
System\ServiceModel\Channels\PnrpPeerResolver.cs (5)
458if (!resultsLink.TryGetValue((uint)address.ScopeId, out entry)) 460if (!LinkCloudNames.TryGetValue((uint)address.ScopeId, out cloudName)) 470if (!resultsSite.TryGetValue((uint)address.ScopeId, out entry)) 472if (!SiteCloudNames.TryGetValue((uint)address.ScopeId, out cloudName)) 598if (!results.TryGetValue(reg.Comment, out entry))
System\ServiceModel\Channels\ReliableChannelListener.cs (3)
605if ((id == null) || !this.channelsByInput.TryGetValue(id, out channel)) 613this.channelsByOutput.TryGetValue(id, out channel); 812&& this.channelsByOutput.TryGetValue(createSequenceInfo.OfferIdentifier, out reliableChannel))
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (1)
1075if (!this.requestsByRequestSequenceNumber.TryGetValue(info.SequenceNumber, out reliableContext))
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
1559if (!processWideRefCount.TryGetValue(newSid, out registration))
System\ServiceModel\Channels\TransactionChannelFactory.cs (2)
72if (!dictionary.TryGetValue(new DirectionalAction(direction, action), out txOption)) 75if (this.allowWildcardAction && dictionary.TryGetValue(new DirectionalAction(direction, MessageHeaders.WildcardAction), out txOption))
System\ServiceModel\Channels\TransactionChannelListener.cs (2)
66if (dictionary.TryGetValue(new DirectionalAction(direction, action), out txFlow)) 70if (dictionary.TryGetValue(new DirectionalAction(direction, MessageHeaders.WildcardAction), out txFlow))
System\ServiceModel\Channels\TransportBindingElementImporter.cs (1)
205if (!importer.State.TryGetValue(StateHelper.StateBagKey, out retValue))
System\ServiceModel\Channels\TransportSecurityHelpers.cs (2)
64if (targetNameCounter.TryGetValue(key, out refCount)) 173serverCertMap.TryGetValue(request, out thumbprint);
System\ServiceModel\Channels\UriPrefixTable.cs (1)
494return children.TryGetValue(segment, out value);
System\ServiceModel\ComIntegration\ComPlusAuthorization.cs (1)
274retValue = accessCheckCache.TryGetValue(luidModifiedID, out isAccessAllowed);
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceRecords.cs (17)
295propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.Wsdl, out wsdlText); 296propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.Contract, out contract); 297propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.Address, out address); 298propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.Binding, out binding); 299propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.BindingConfiguration, out bindingConfig); 300propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.SpnIdentity, out spnIdentity); 301propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.UpnIdentity, out upnIdentity); 302propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.DnsIdentity, out dnsIdentity); 303propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.MexAddress, out mexAddress); 304propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.MexBinding, out mexBinding); 305propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.MexBindingConfiguration, out mexBindingConfiguration); 306propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.MexSpnIdentity, out mexSpnIdentity); 307propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.MexUpnIdentity, out mexUpnIdentity); 308propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.MexDnsIdentity, out mexDnsIdentity); 309propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.ContractNamespace, out contractNamespace); 310propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.BindingNamespace, out bindingNamespace); 410while (dispToOperationDescription.TryGetValue(dispIndex, out methodInfo))
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (1)
386if (this.contracts.TryGetValue(iid, out contract))
System\ServiceModel\ComIntegration\DispatchProxy.cs (4)
135if (!nameToDisp.TryGetValue(param.Name, out dispID)) 143if (!paramDictionary.TryGetValue(param.Name, out paramInfo)) 190if (!nameToDisp.TryGetValue(rgszNames[index], out dispID)) 214if (!dispToOperationDescription.TryGetValue(dispIdMember, out mInfo))
System\ServiceModel\ComIntegration\EmitterCache.cs (1)
75interfaceToClassMap.TryGetValue(interfaceType, out classType);
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (15)
207propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.Contract, out contract); 208propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.ContractNamespace, out contractNamespace); 209propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.BindingNamespace, out bindingNamespace); 210propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.Binding, out binding); 211propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.MexAddress, out mexAddress); 212propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.MexBinding, out mexBindingSectionName); 213propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.MexBindingConfiguration, out mexBindingConfiguration); 214propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.Address, out address); 215propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.SpnIdentity, out spnIdentity); 216propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.UpnIdentity, out upnIdentity); 217propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.DnsIdentity, out dnsIdentity); 218propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.MexSpnIdentity, out mexSpnIdentity); 219propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.MexUpnIdentity, out mexUpnIdentity); 220propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.MexDnsIdentity, out mexDnsIdentity); 221propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.Serializer, out serializer);
System\ServiceModel\ComIntegration\MonikerUtility.cs (1)
140propertyTable.TryGetValue(keyword, out value);
System\ServiceModel\ComIntegration\ProxyBuilder.cs (2)
23if (propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.Wsdl, out temp)) 27else if (propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.MexAddress, out temp))
System\ServiceModel\ComIntegration\ProxyManager.cs (1)
82InterfaceIDToComProxy.TryGetValue(riid, out comProxy);
System\ServiceModel\ComIntegration\ServiceInfo.cs (1)
325udts.TryGetValue(assemblyId, out ret);
System\ServiceModel\ComIntegration\TypeCacheManager.cs (4)
185assemblyTable.TryGetValue(typeLibraryID, out asm); 256this.assemblyTable.TryGetValue(assembly, out ret); 266typeTable.TryGetValue(typeDefId, out userDefinedType); 295typeTable.TryGetValue(iid, out interfaceType);
System\ServiceModel\ComIntegration\TypedServiceChannelBuilder.cs (7)
197propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.Contract, out typeIID); 228propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.Address, out address); 229propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.Binding, out bindingType); 230propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.BindingConfiguration, out bindingConfigName); 231propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.SpnIdentity, out spnIdentity); 232propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.UpnIdentity, out upnIdentity); 233propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.DnsIdentity, out dnsIdentity);
System\ServiceModel\ComIntegration\TypeLibraryHelper.cs (1)
116TypelibraryAssembly.TryGetValue(typeLibraryID, out asm);
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (10)
194propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.Wsdl, out wsdlText); 195propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.Contract, out portType); 196propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.Binding, out bindingName); 197propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.Address, out address); 198propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.SpnIdentity, out spnIdentity); 199propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.UpnIdentity, out upnIdentity); 200propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.DnsIdentity, out dnsIdentity); 201propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.Serializer, out serializer); 202propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.BindingNamespace, out bindingNamespace); 203propertyTable.TryGetValue(MonikerHelper.MonikerAttribute.ContractNamespace, out contractNamespace);
System\ServiceModel\Description\ConfigLoader.cs (2)
478if (bindingTable.TryGetValue(bindingKey, out binding) == false) 922if (bindingTable.TryGetValue(bindingKey, out binding) == false)
System\ServiceModel\Description\ConfigWriter.cs (1)
65if (!bindingTable.TryGetValue(binding, out bindingDV))
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (2)
103if (knownTypes.TryGetValue(part, out knownTypesForPart)) 108if (!operationKnownTypes.TryGetValue(knownTypeReference, out value))
System\ServiceModel\Description\MessageContractExporter.cs (12)
56if (ExportedMessages.ElementTypes.TryGetValue(qname, out existingElement)) 77if (!exporter.State.TryGetValue(typeof(MessageExportContext), out messageExportContext)) 247if (!exporter.State.TryGetValue(typeof(XsdDataContractExporter), out dataContractExporter)) 442if (ExportedMessages.TypedMessages.TryGetValue(typedMessageKey, out wsdlMessage)) 448if (ExportedMessages.ParameterMessages.TryGetValue(messageKey, out wsdlMessage)) 484if (ExportedMessages.TypedHeaderMessages.TryGetValue(typedMessageKey, out wsdlMessage)) 690if (this.exportedMessages.WsdlHeaderMessages.TryGetValue(new MessageDescriptionDictionaryKey(this.endpointContext.Endpoint.Contract, message), out headerMessage)) 727if (!ExportedMessages.WrapperNamespaces.TryGetValue(new MessageDescriptionDictionaryKey(endpointContext.ContractConversionContext.Contract, messageDescription), out ns)) 1247if (!exporter.State.TryGetValue(typeof(XmlSerializerOperationBehavior.Reflector), out reflector)) 1261if (!exporter.State.TryGetValue(typeof(SoapSchemaExporter), out soapExporter)) 1275if (!exporter.State.TryGetValue(typeof(XmlSchemaExporter), out xmlExporter)) 1289if (!exporter.State.TryGetValue(typeof(XmlSchemas), out schemas))
System\ServiceModel\Description\MessageContractImporter.cs (8)
134if (this.importer.State.TryGetValue(typeof(FaultImportOptions), out faultImportOptions)) 452BodyPartsTable.TryGetValue(wsdlMessage, out bodyPartsFromBindings); 488BodyPartsTable.TryGetValue(wsdlMessage, out bodyPartsFromBindings); 763if (this.importer.State.TryGetValue(typeof(WrappedOptions), out wrappedOptions)) 1333if (!BodyPartsTable.TryGetValue(wsdlMessage, out bodyPartsFromBindings)) 1573if (!importer.State.TryGetValue(typeof(XsdDataContractImporter), out dataContractImporter)) 1576if (!importer.State.TryGetValue(typeof(CodeCompileUnit), out compileUnit)) 1932if (!importer.State.TryGetValue(typeof(CodeCompileUnit), out compileUnit))
System\ServiceModel\Description\OperationGenerator.cs (5)
625if (this.KnownTypes != null && this.KnownTypes.TryGetValue(part, out knownTypesForPart)) 699bool hasAttributes = this.Parent.ParameterAttributes.TryGetValue(part, out importedAttributes); 712if (!this.Parent.SpecialPartName.TryGetValue(messagePart, out partName)) 733if (!this.Parent.SpecialPartName.TryGetValue(setting, out partName)) 819return contract.ServiceContractGenerator.GeneratedTypedMessages.TryGetValue(message, out codeTypeReference);
System\ServiceModel\Description\ServiceContractGenerator.cs (5)
150if (referencedTypes.TryGetValue(endpoint.Contract, out existingType)) 177if (referencedTypes.TryGetValue(contractDescription, out existingType)) 184if (!generatedTypes.TryGetValue(contractDescription, out context)) 774if (!namespaceMappings.TryGetValue(descriptionNamespace, out target)) 777if (!namespaceMappings.TryGetValue(WildcardNamespaceMapping, out target))
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
1091return docFromQuery.TryGetValue(query, out doc);
System\ServiceModel\Description\SoapHelper.cs (2)
163if (!exporter.State.TryGetValue(SoapVersionStateKey, out versions)) 176if (exporter.State.TryGetValue(SoapVersionStateKey, out versions))
System\ServiceModel\Description\TypeLoader.cs (2)
73if (!contracts.TryGetValue(actualContractType, out contractDescription)) 1231if (messages.TryGetValue(typedMessageType, out messageItems))
System\ServiceModel\Description\WsdlContractConversionContext.cs (1)
147if (!this.operationBindings.TryGetValue(operation, out bindings))
System\ServiceModel\Description\WsdlExporter.cs (1)
316if (!exportedBindings.TryGetValue(new BindingDictionaryKey(endpoint.Contract, endpoint.Binding), out bindingConversionContext))
System\ServiceModel\Description\WsdlHelper.cs (1)
277if (bindingReferenceChanges.TryGetValue(port.Binding, out newPortBinding))
System\ServiceModel\Description\WsdlImporter.cs (12)
371if (!importedBindings.TryGetValue(wsdlBindingQName, out bindingEndpointContext)) 380importedPortTypes.TryGetValue(wsdlBinding.Type, out contractContext); 446if (!importedPorts.TryGetValue(wsdlPort, out endpoint)) 648if (this.KnownContracts.TryGetValue(contractQName, out existingContract)) 652if (importedPortTypes.TryGetValue(wsdlPortTypeQName, out contractContext)) 2346if (!this.embeddedPolicyDictionary.TryGetValue(wsdl, out wsdlPolicyDictionary)) 2397externalPolicyDictionary.TryGetValue(policyReference, out policy); 2407if (!policySourceTable.TryGetValue(contextPolicyAssertion, out sourceWsdl)) 2420externalPolicyDictionary.TryGetValue(policyReference, out policy); 2425if (!this.embeddedPolicyDictionary.TryGetValue(wsdlDocument, out wsdlPolicyDictionary)) 2430wsdlPolicyDictionary.TryGetValue(policyReference, out policy); 2453if (!policySourceTable.TryGetValue(policyAssertion, out sourceWsdl))
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
688if (XmlMappings.TryGetValue(mappingKey, out mapping))
System\ServiceModel\Diagnostics\PerformanceCounters.cs (4)
351if (!PerformanceCounters.PerformanceCountersForEndpoint.TryGetValue(endpointDispatcher.PerfCounterId, out counters)) 380if (!PerformanceCounters.PerformanceCountersForBaseUri.TryGetValue(endpointDispatcher.PerfCounterBaseId, out countersEntry)) 407if (PerformanceCounters.PerformanceCountersForEndpoint.TryGetValue(id, out counters)) 857PerformanceCounters.PerformanceCountersForBaseUri.TryGetValue(uri, out counters);
System\ServiceModel\Diagnostics\PerformanceCountersBase.cs (1)
136if (this.cache.TryGetValue(instanceName, out wr))
System\ServiceModel\Diagnostics\ServiceModelPerformanceCounters.cs (2)
49if (!this.operationPerfCounters.TryGetValue(opDescription.Name, out c)) 108if (opPerfCounters != null && opPerfCounters.TryGetValue(operation, out counters))
System\ServiceModel\Dispatcher\ActionMessageFilterTable.cs (5)
123if (!this.actions.TryGetValue(filter.Actions[i], out filters)) 189if (this.actions.TryGetValue(act, out filters)) 228if (this.actions.TryGetValue(act, out filters)) 251if (this.actions.TryGetValue(act, out filters)) 483return this.filters.TryGetValue(filter, out data);
System\ServiceModel\Dispatcher\AndMessageFilterTable.cs (1)
480return this.filters.TryGetValue(filter, out data);
System\ServiceModel\Dispatcher\EndpointAddressMessageFilter.cs (1)
228if (this.headerLookup.TryGetValue(key, out bits))
System\ServiceModel\Dispatcher\EndpointAddressMessageFilterTable.cs (7)
160if (!this.toHostLookup.TryGetValue(soapToAddress, out cset)) 168if (!this.toNoHostLookup.TryGetValue(soapToAddress, out cset)) 190if (cset.qnames.TryGetValue(qname, out cnt)) 212if (this.headerLookup.TryGetValue(item.Key, out bits)) 329return this.toHostLookup.TryGetValue(to, out cset); 333return this.toNoHostLookup.TryGetValue(to, out cset); 821return this.filters.TryGetValue(filter, out data);
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (1)
210if (headerLookup.TryGetValue(key, out bits))
System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (2)
272if ((operationName != null) && this.operations.TryGetValue(operationName, out operation)) 300if (this.operations.TryGetValue(operationName, out operation))
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
1819if (this.map.TryGetValue(operationName, out operation))
System\ServiceModel\Dispatcher\MessageFilter.cs (1)
316return this.filters.TryGetValue(filter, out data);
System\ServiceModel\Dispatcher\MessageFilterTable.cs (2)
161if (this.filterTypeMappings.TryGetValue(filterType, out tableType)) 584return this.filters.TryGetValue(filter, out data);
System\ServiceModel\Dispatcher\MessageQueryTable.cs (2)
69if (!this.collectionsByType.TryGetValue(queryType, out collection)) 172return this.dictionary.TryGetValue(key, out value);
System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
911if (base.TryGetValue(new QName(name, ns), out message))
System\ServiceModel\Dispatcher\QueryRelOp.cs (1)
269if (this.literals.TryGetValue(literal, out result))
System\ServiceModel\Dispatcher\QuerySubExprEliminator.cs (10)
304if (!this.nameLookup.TryGetValue(ns, out nextLookup)) 312if (!nextLookup.TryGetValue(name, out exprs)) 354if (this.nameLookup.TryGetValue(ns, out nextLookup)) 356if (nextLookup.TryGetValue(name, out lst)) 364if (nextLookup.TryGetValue(QueryDataModel.Wildcard, out lst)) 373if (this.nameLookup.TryGetValue(QueryDataModel.Wildcard, out nextLookup)) 375if (nextLookup.TryGetValue(QueryDataModel.Wildcard, out lst)) 433if (this.nameLookup.TryGetValue(ns, out nextLookup)) 437if (nextLookup.TryGetValue(name, out exprs)) 591if (this.removalMapping.TryGetValue(item, out exprs))
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
393found = this.domainNameMap.TryGetValue(shortDomainName, out fullDomainName);
System\ServiceModel\Dispatcher\TransactionBehavior.cs (1)
875if (!this.pending.TryGetValue(tx, out rm))
System\ServiceModel\Dispatcher\XPathMessageFilterTable.cs (1)
611return this.filters.TryGetValue(filter, out data);
System\ServiceModel\MessageHeaderT.cs (2)
120if (!cache.TryGetValue(t, out result)) 123if (!cache.TryGetValue(t, out result))
System\ServiceModel\PeerResolvers\CustomPeerResolverService.cs (4)
296if (!this.meshId2Entry.TryGetValue(meshId, out meshEntry) && createIfNotExists) 401if (!meshEntry.EntryTable.TryGetValue(updateInfo.RegistrationId, out entry)) 511if (!meshEntry.EntryTable.TryGetValue(unregisterInfo.RegistrationId, out registration)) 547if (!meshEntry.EntryTable.TryGetValue(refreshInfo.RegistrationId, out entry))
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (2)
297parent.ServiceCertificate.ScopedCertificates.TryGetValue(targetAddress.Uri, out targetServerCertificate); 476if (!parent.IssuedToken.IssuerChannelBehaviors.TryGetValue(issuerAddress.Uri, out issuerChannelBehaviors) && isLocalIssuer)
System\ServiceModel\Security\SecurityProtocol.cs (1)
392if (this.scopedSupportingTokenProviderSpecification.TryGetValue(action, out existingList))
System\ServiceModel\Security\SecurityProtocolFactory.cs (1)
1011if (this.scopedSupportingTokenAuthenticatorSpecification.TryGetValue(action, out existingList))
System\ServiceModel\Security\SecuritySessionFilter.cs (2)
291return this.filterMappings.TryGetValue(filter, out data); 333if (this.contextMappings.TryGetValue(contextIds[i], out match))
System\ServiceModel\Security\SecuritySessionServerSettings.cs (1)
959this.activeSessions.TryGetValue(sessionId, out result);
System\ServiceModel\Security\SendSecurityHeaderElementContainer.cs (1)
151|| !this.securityTokenMappedToIdentifierClause.TryGetValue(securityToken, out keyIdentifierClause))
System\ServiceModel\ServiceHost.cs (1)
668else if (!this.EndpointsByListenUriInfo.TryGetValue(DispatcherBuilder.GetListenUriInfoForEndpoint(this, inputEndpoint), out endpoints) || !endpoints.Contains(inputEndpoint))
System\ServiceModel\ServiceModelDictionary.cs (1)
50if (this.dictionary.TryGetValue(key, out id))
System\ServiceModel\SynchronizedKeyedCollection.cs (1)
166if (this.dictionary.TryGetValue(key, out itemInDict))
System\ServiceModel\Syndication\SyndicationContent.cs (1)
110if (this.attributeExtensions.TryGetValue(key, out attrValue))
System\ServiceModel\Transactions\TransactionCache.cs (1)
129if (cache.TryGetValue(key, out value))
System\UriTemplate.cs (6)
607if (!other.queries.TryGetValue(key, out otherUtqv)) 1130return this.defaults.TryGetValue(key, out value); 1381if (!this.defaultValues.TryGetValue(varName, out defaultValue)) 1401if (this.defaultValues.TryGetValue(varName, out defaultValue)) 1489this.defaultValues.TryGetValue(this.pathSegmentVariableNames[i], out normalizedParameters[i]); 1501if (this.defaultValues.TryGetValue(this.pathSegmentVariableNames[lastNonDefaultPathParameter],
System\UriTemplateTable.cs (1)
418if ((this.fastPathTable != null) && this.fastPathTable.TryGetValue(uriPath, out fpInfo))
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\CollectibleLRUCache.cs (1)
96if (directory.TryGetValue(key, out node))
System.ServiceModel.Activities (21)
System\ServiceModel\Activities\Dispatcher\BufferedReceiveManager.cs (1)
131if (!this.bufferedProperties.TryGetValue(instanceKey, out properties))
System\ServiceModel\Activities\Dispatcher\CorrelationKeyCalculator.cs (1)
385if (!this.keyValues.TryGetValue(targetKeyValue.Key, out sourceValue) ||
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (13)
298if (this.keyMap.TryGetValue(instanceKey.Value, out context)) 320if (this.keyMap.TryGetValue(instanceKey.Value, out context)) 354if (!context.AssociatedKeys.Contains(key) && this.keyMap.TryGetValue(key.Value, out conflictingContext)) 377if (this.keyMap.TryGetValue(key.Value, out contextToAbort)) 489this.instanceCache.TryGetValue(suggestedIdOrId, out foundContext); 493this.keyMap.TryGetValue(key.Value, out foundContext); 670this.loadsInProgress.TryGetValue(key, out waitHandle); 691this.loadsInProgress.TryGetValue(key, out waitHandle); 1218this.ppd.instanceCache.TryGetValue(this.suggestedIdOrId, out this.result); 1222this.ppd.keyMap.TryGetValue(this.key.Value, out this.result); 1235if (this.ppd.keyMap.TryGetValue(instanceKey.Value, out conflictingContext)) 1253if (this.ppd.instanceCache.TryGetValue(this.context.InstanceId, out contextToAbort)) 1269if (this.ppd.keyMap.TryGetValue(loadedKey.Value, out contextToAbort))
System\ServiceModel\Activities\Dispatcher\TransactionWaitAsyncResult.cs (1)
151if (!PersistenceContext.Enlistments.TryGetValue(key, out enlistment))
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (2)
2090if (!this.pendingOperations.TryGetValue(sessionId, out pendingList)) 2119if (this.pendingOperations != null && this.pendingOperations.TryGetValue(sessionId, out pendingList))
System\ServiceModel\Activities\WorkflowService.cs (2)
1071if (operationProperties.TryGetValue(operationId, out property)) 1257if (operationProperties.TryGetValue(id, out property))
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
652if (contractDescriptionDictionary.TryGetValue(serviceEndpoint.Contract.ContractType, out contract))
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpOutputChannel.cs (1)
131if (this.retransmitList.TryGetValue(messageId, out retransmitter))
System.ServiceModel.Discovery (3)
System\ServiceModel\Discovery\AsyncOperationLifetimeManager.cs (2)
100success = this.activeOperations.TryGetValue(operationId, out context); 129if ((this.activeOperations.TryGetValue(operationId, out context)) &&
System\ServiceModel\Discovery\FindResponse.cs (1)
39if (!this.messageSequenceTable.TryGetValue(endpointDiscoveryMetadata, out messageSequence))
System.ServiceModel.Internals (4)
System\Runtime\Collections\ObjectCache.cs (1)
104if (this.cacheItems.TryGetValue(key, out cacheItem))
System\Runtime\DuplicateDetector.cs (1)
65if (this.items.TryGetValue(value, out node))
System\Runtime\MruCache.cs (2)
112if (this.items.TryGetValue(key, out entry)) 150bool found = this.items.TryGetValue(key, out entry);
System.ServiceModel.Routing (3)
System\ServiceModel\Dispatcher\StrictAndMessageFilter.cs (1)
261return this.andFilters.TryGetValue(key, out value);
System\ServiceModel\Routing\SessionChannels.cs (2)
91if (!this.sessions.TryGetValue(key, out value)) 128if (this.sessions.TryGetValue(key, out client))
System.ServiceModel.WasHosting (1)
System\ServiceModel\WasHosting\BaseProcessProtocolHandler.cs (1)
51if (!listenerChannelIdMapping.TryGetValue(channelId, out listenerChannelContext))
System.ServiceModel.Web (8)
System\ServiceModel\Dispatcher\DemultiplexingClientMessageFormatter.cs (1)
44this.formatters.TryGetValue(format, out selectedFormatter);
System\ServiceModel\Dispatcher\DemultiplexingDispatchMessageFormatter.cs (1)
45this.formatters.TryGetValue(format, out selectedFormatter);
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (1)
172if (context.objectHandler.TryGetValue(objectType, out action))
System\ServiceModel\Dispatcher\HelpPage.cs (1)
71if (this.operationInfoDictionary.TryGetValue(operation, out operationInfo))
System\ServiceModel\Dispatcher\WebHttpDispatchOperationSelector.cs (4)
99if (!methodSpecificTables.TryGetValue(method, out methodSpecificTable)) 122if (!methodSpecificTables.TryGetValue(WebHttpBehavior.WildcardMethod, out wildcardTable)) 140if (!this.templates.TryGetValue(operationName, out result)) 227bool methodMatchesExactly = methodSpecificTables.TryGetValue(method, out methodSpecificTable);
System.Transactions (1)
System\Transactions\Oletx\HandleTable.cs (1)
41if (!handleTable.TryGetValue(handle.ToInt32(), out target))
System.Web (26)
Compilation\AssemblyResolver.cs (1)
365if (AssemblyLocations.TryGetValue(a, out path)) {
Compilation\BuildProvider.cs (1)
218s_dynamicallyRegisteredProviders.TryGetValue(extension, out info);
Configuration\FolderLevelBuildProviderCollection.cs (1)
87if (!_buildProviderMappings.TryGetValue(appliesTo, out buildProviders)) {
Configuration\serverconfig.cs (1)
119if (!s_expressConfigs.TryGetValue(version, out expressConfig)) {
Hosting\ApplicationManager.cs (1)
1718if (!_appDomains.TryGetValue(appId, out ac)) {
Hosting\ObjectCacheHost.cs (2)
97if (_cacheInfos.TryGetValue(memoryCache, out info)) { 113if (!_cacheInfos.TryGetValue(memoryCache, out info)) {
MimeMapping.cs (1)
82if (_mappings.TryGetValue(fileName.Substring(i), out mimeType)) {
ModelBinding\CookieValueProvider.cs (1)
59_values.TryGetValue(key, out placeholder);
ModelBinding\DataAnnotationsModelValidatorProvider.cs (2)
96if (!AttributeFactories.TryGetValue(attribute.GetType(), out factory)) { 105if (!ValidatableFactories.TryGetValue(metadata.ModelType, out factory)) {
ModelBinding\DictionaryValueProvider`1.cs (1)
42_values.TryGetValue(key, out vpResult);
ModelBinding\ModelBinderDictionary.cs (2)
57_innerDictionary.TryGetValue(key, out binder); 147return _innerDictionary.TryGetValue(key, out value);
ModelBinding\ModelStateDictionary.cs (2)
52_innerDictionary.TryGetValue(key, out value); 148return _innerDictionary.TryGetValue(key, out value);
ModelBinding\NameValueCollectionValueProvider.cs (1)
56_values.TryGetValue(key, out placeholder);
Routing\RouteCollection.cs (2)
57if (_namedMap.TryGetValue(name, out route)) { 269routeFound = _namedMap.TryGetValue(name, out namedRoute);
Routing\RouteValueDictionary.cs (1)
96return _dictionary.TryGetValue(key, out value);
UI\ClientScriptManager.cs (2)
1178if (_registeredResourcesToSuppress.TryGetValue(scriptKey.Assembly, out resources) 1206if (_registeredResourcesToSuppress.TryGetValue(AssemblyResourceLoader.GetAssemblyFromType(typeof(Page)),
UI\WebControls\MethodParametersDictionary.cs (1)
150return InnerDictionary.TryGetValue(key, out value);
UI\WebParts\PersonalizationStateInfoCollection.cs (2)
47if (!_indices.TryGetValue(key, out index)) { 123if (!_indices.TryGetValue(key, out ipos)) {
UI\WebParts\WebPartTracker.cs (1)
51_webPart.TrackerCounter.TryGetValue(_providerConnectionPoint, out count);
System.Web.DynamicData (10)
DynamicData\DataSourceUtil.cs (1)
54if (s_typeToTypeCodeMap.TryGetValue(type, out typeCode))
DynamicData\DynamicDataRouteHandler.cs (1)
75if (!virtualPathCache.TryGetValue(cacheKey, out virtualPath)) {
DynamicData\FieldTemplateFactory.cs (2)
98if (_typesFallBacks.TryGetValue(t, out fallbackType)) 248if (_typesToTemplateNames.TryGetValue(fieldType, out templateName)) {
DynamicData\MetaForeignKeyColumn.cs (1)
151if (_foreignKeyFilterMapping == null || !_foreignKeyFilterMapping.TryGetValue(foreignKeyName, out mappedforeignKey)) {
DynamicData\MetaModel.cs (3)
337if (!_tablesByUniqueName.TryGetValue(table.Name, out nameConflictTable)) { 476return _tablesByUniqueName.TryGetValue(uniqueTableName, out table); 497if (!_tablesByContextAndName.TryGetValue(new ContextTypeTableNamePair(contextType, tableName), out table)) {
DynamicData\MetaTable.cs (1)
946return _columnsByName.TryGetValue(columnName, out column);
DynamicData\ModelProviders\EFAssociationProvider.cs (1)
22if (parentEntityModel.RelationshipEndLookup.TryGetValue(key, out columnProvider)) {
System.Web.Entity (3)
System\Data\WebControls\EntityDataSourceReferenceGroup.cs (1)
83if (newKeyValues.TryGetValue(originalEntityKey.Key, out newKeyValue))
System\Data\WebControls\EntityDataSourceView.cs (1)
962originalEntityValues.TryGetValue(propertyName, out originalValue);
System\Data\WebControls\EntityDataSourceWrapper.cs (1)
131if (propertiesFromViewState.TryGetValue(displayName, out value))
System.Web.Extensions (14)
Compilation\WCFModel\SchemaMerger.cs (1)
153if (knownItemTable.TryGetValue(combinedName, out originalItem))
Compilation\WCFModel\WsdlInspector.cs (2)
78if (portTypes.TryGetValue(portTypeName, out definedPortType)) 93if (messages.TryGetValue(messageName, out definedMessage))
Script\Services\WebServiceData.cs (3)
271if (!_methods.TryGetValue(methodName, out methodData)) { 517if (ClientTypeDictionary.TryGetValue(id, out type)) { 546if (_typeResolverSpecials.TryGetValue(typeName, out typeString)) {
UI\ScriptManager.cs (1)
1809if (!suppressedResources.TryGetValue(assembly, out resourcesForAssembly)) {
UI\ScriptRegistrationManager.cs (1)
571if (_fallbackScripts != null && _fallbackScripts.TryGetValue(new ScriptKey(activeRegistration.Type, activeRegistration.Key), out fallbackScriptPath)) {
UI\WebControls\Dynamic.cs (5)
292if (!classes.TryGetValue(signature, out type)) { 295if (classes.TryGetValue(signature, out type)) { 1017if (keywords.TryGetValue(token.text, out value)) { 1025if (symbols.TryGetValue(token.text, out value) || 1502if (literals.TryGetValue(ce, out text)) {
Util\OrderedDictionary.cs (1)
111return _dictionary.TryGetValue(key, out value);
System.Windows.Forms (2)
parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
70isPresent = s_switchMap.TryGetValue(switchName, out isEnabled);
winforms\Managed\System\WinForms\NativeWindow.cs (1)
1021if (NativeWindow.hashForIdHandle == null || !NativeWindow.hashForIdHandle.TryGetValue(id, out handle)) {
System.Workflow.Activities (42)
Common\CompilerHelpers.cs (2)
91if (!providers.TryGetValue(type, out typedProviders)) 97if (!typedProviders.TryGetValue(compilerVersion, out provider))
Designers\StateDesigner.cs (1)
1759if (!sourceStateDesigner.DesignerLayouts.TryGetValue(eventHandler, out eventHandlerLayout))
Designers\StateDesigner.Layouts.cs (1)
58((StateDesigner)this.AssociatedDesigner).DesignerLayouts.TryGetValue(this._eventHandler, out designerLayout);
Designers\StateDesigner.TransitionInfo.cs (1)
158states.TryGetValue(transitionInfo.SetState.TargetStateName, out targetState);
InvokeWebService.cs (1)
183if (!sessionCookieContainers.TryGetValue(SessionId, out cookieContainer))
LocalService\CorrelationResolver.cs (6)
63cachedTypeResolver.TryGetValue(interfaceType, out resolver); 68cachedTypeResolver.TryGetValue(interfaceType, out resolver); 239this.cachedCorrelationProperties.TryGetValue(methodName, out correlationProperties); 244this.cachedCorrelationProperties.TryGetValue(methodName, out correlationProperties); 355if (correlationAliases.TryGetValue("", out corrAlias)) 361correlationAliases.TryGetValue(paramAttribute.Name, out corrAlias);
LocalService\MethodMessage.cs (1)
99if (staticMethodMessageMap.TryGetValue(callbackCookie, out previousMessage))
Rules\ArithmeticLiteral.cs (3)
150return (types.TryGetValue(literalType, out f)) ? f(literalValue) : null; 308if (supportedTypes.TryGetValue(lhs, out lhsType) && supportedTypes.TryGetValue(rhs, out rhsType))
Rules\CodeDomDecompiler.cs (3)
298if (!knownTypeMap.TryGetValue(typeName, out newTypeName)) 330if (knownOperatorMap.TryGetValue(method.Name, out operatorName)) 496if (precedenceMap.TryGetValue(expression.GetType(), out computePrecedence))
Rules\Literal.cs (3)
141if (types.TryGetValue(literalType, out f)) 424if ((supportedTypes.TryGetValue(lhs, out lhsFlags)) && (supportedTypes.TryGetValue(rhs, out rhsFlags)))
Rules\Parser\Parser.cs (11)
699if (!rootNamespaces.TryGetValue(namespaces[0], out nsSym)) 716if (globalUniqueSymbols.TryGetValue(namespaces[j], out existingSymbol)) 775if (globalUniqueSymbols.TryGetValue(name, out existingSymbol)) 880if (globalUniqueSymbols.TryGetValue(memberSym.Name, out existingSymbol)) 993if (!localUniqueSymbols.TryGetValue(key, out localSym)) 2014if (!localUniqueSymbols.TryGetValue(name, out sym)) 2017globalUniqueSymbols.TryGetValue(name, out sym); 2382if (globalUniqueSymbols.TryGetValue((string)currentToken.Value, out sym)) 2815parserContext.exprPositions.TryGetValue(errorObject, out position); 2831parserContext.exprPositions.TryGetValue(errorObject, out position); 2847parserContext.exprPositions.TryGetValue(errorObject, out position);
Rules\Parser\Scanner.cs (1)
914if (keywordMap.TryGetValue(strValue.ToLowerInvariant(), out keyword))
Rules\Parser\Symbol.cs (3)
78if (!NestedSymbols.TryGetValue(nsName, out ns)) 96if (NestedSymbols.TryGetValue(typeName, out existingSymbol)) 120NestedSymbols.TryGetValue(memberName, out nestedSym);
Rules\RuleValidation.cs (3)
1094expressionInfoMap.TryGetValue(expression, out exprInfo); 3696if (!typeRefMap.TryGetValue(typeRef, out resultType)) 3809if (!typesUsed.TryGetValue(typeName, out type))
StateMachineSubscriptionManager.cs (2)
103subscriptions.TryGetValue(queueName, out subscription); 277this.Subscriptions.TryGetValue(queueName, out subscription);
System.Workflow.ComponentModel (14)
AuthoringOM\Compiler\Configuration.cs (1)
40if (!authorizedTypes.TryGetValue(version, out versionTypes))
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (2)
237if (!typeToAssemblyName.TryGetValue(type, out assemblyName)) 287if (!supportedProperties.TryGetValue(property, out supported))
AuthoringOM\Serializer\ActivitySurrogateSelector.cs (1)
49found = surrogateCache.TryGetValue(type, out result);
AuthoringOM\Serializer\FormatterServicesNoSerializableCheck.cs (2)
227if (m_MemberInfoTable.TryGetValue(type, out members)) 238if (m_MemberInfoTable.TryGetValue(type, out insertedMembers))
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (5)
160if (!this.clrNamespaceBasedMappings.TryGetValue(key, out mappingForType)) 186cachedXmlQualifiedNameTypes.TryGetValue(xmlQualifiedName, out resolvedType); 198if (!this.xmlNamespaceBasedMappings.TryGetValue(xmlns, out xmlnsMappings)) 407if (!this.xmlNamespaceBasedMappings.TryGetValue(mapping.XmlNamespace, out xmlnsMappings)) 415if (!this.prefixBasedMappings.TryGetValue(mapping.Prefix, out prefixMappings))
AuthoringOM\Serializer\WorkflowMarkupSerializerMapping.cs (1)
210if (!WorkflowMarkupSerializerMapping.wellKnownTypes.TryGetValue(typeName, out resolvedType))
Shared\CompilerHelpers.cs (2)
89if (!providers.TryGetValue(type, out typedProviders)) 95if (!typedProviders.TryGetValue(compilerVersion, out provider))
System.Workflow.Runtime (45)
PerformanceCounterManager.cs (1)
280if (this.m_actionStatements.TryGetValue(action, out lStatements))
RTTrackingProfile.cs (9)
304if (_activities.TryGetValue(activity.QualifiedName, out points)) 544if (!_activities.TryGetValue(qualifiedID, out points)) 556if (!_user.TryGetValue(qualifiedID, out points)) 577if (!_dynamicActivities.TryGetValue(qualifiedID, out tmp)) 596return _activities.TryGetValue(activity.QualifiedName, out points); 602return _dynamicActivities.TryGetValue(activity.QualifiedName, out points); 619if (!_dynamicUser.TryGetValue(qualifiedID, out tmp)) 638return _user.TryGetValue(activity.QualifiedName, out points); 644return _dynamicUser.TryGetValue(activity.QualifiedName, out points);
System\Activities\Statements\Interop.cs (3)
248if (this.properties.TryGetValue(propertyInName, out inBinding)) 260if (this.properties.TryGetValue(propertyOutName, out outBinding)) 449if (this.properties.TryGetValue(output.Key, out argument) && argument != null)
Tracking.cs (14)
125found = _listeners.TryGetValue(exec.InstanceId, out weakref); 285if (!_listeners.TryGetValue(instanceId, out wr)) 963if (_services.TryGetValue(previous, out item)) 986if (_services.TryGetValue(HashHelper.HashServiceType(trackingServiceType), out service)) 997if (!_services.TryGetValue(HashHelper.HashServiceType(trackingServiceType), out service)) 1006if (!_services.TryGetValue(HashHelper.HashServiceType(trackingServiceType), out service)) 1015if (!_services.TryGetValue(HashHelper.HashServiceType(trackingServiceType), out service)) 1026if (!_services.TryGetValue(HashHelper.HashServiceType(trackingServiceType), out service)) 1372if (!_cacheLookup.TryGetValue(serviceType, out schedules)) 1381if (!schedules.TryGetValue(profile.WorkflowType, out profiles)) 1409if (!_cacheLookup.TryGetValue(serviceType, out schedules)) 1413if (!schedules.TryGetValue(workflowType, out profiles)) 1502if (!_cacheLookup.TryGetValue(serviceType, out schedules)) 1508if (!schedules.TryGetValue(workflowType, out profiles))
Tracking\SqlTrackingService.cs (2)
2146if (_activityInstanceId.TryGetValue(key, out id)) 2151return _tmpActivityInstanceId.TryGetValue(key, out id);
Tracking\SqlTrackingWorkflowInstance.cs (7)
249if (activities.TryGetValue(eventId, out activity)) 289if (activities.TryGetValue(eventId, out activity)) 311if (artifacts.TryGetValue(artId, out item)) 397if (userEvents.TryGetValue(eventId, out user)) 436if (userEvents.TryGetValue(eventId, out user)) 458if (artifacts.TryGetValue(artId, out item)) 532if (inst.TryGetValue(eventId, out rec))
WorkBatch.cs (3)
234if (!Items.TryGetValue(work, out workItems)) 350if (this.TryGetValue(id, out batch)) 370TryGetValue(id, out batch);
WorkflowQueuingService.cs (2)
326if (qService.persistedQueueStates.TryGetValue(queueName, out queueState) && 435if (this.persistedQueueStates.TryGetValue(queueID, out queue))
WorkflowRuntime.cs (4)
73return dict.TryGetValue(key, out value); 480if (executors.TryGetValue(key, out executor)) 508if (executors.TryGetValue(key, out currentRes)) 1617if (executors.TryGetValue(instanceId, out currentRes) && Object.Equals(executor, currentRes))
System.WorkflowServices (18)
System\ServiceModel\Activities\WorkflowRuntimeServicesExtensionProvider.cs (2)
39if (!this.services.TryGetValue(serviceType, out service)) 42if (this.services.TryGetValue(typeof(ExternalDataExchangeService), out dataExchangeService))
System\ServiceModel\Dispatcher\DurableInstanceContextProvider.cs (7)
235if (!contextCache.TryGetValue(instanceId, out contextItem)) 261if (contextCache.TryGetValue(instanceId, out contextItem)) 276if (contextCache.TryGetValue(instanceId, out contextItem)) 292if (contextCache.TryGetValue(instanceId, out contextItem)) 317if (this.contextCache.TryGetValue(instanceId, out contextItem)) 334if (contextCache.TryGetValue(instanceId, out contextItem)) 362if (!contextCache.TryGetValue(instanceId, out contextItem))
System\ServiceModel\Dispatcher\WorkflowInstanceLifeTimeManagerExtension.cs (7)
53if (this.instanceRecordMap.TryGetValue(instanceId, out instanceRecord)) 83if (instanceRecordMap.TryGetValue(instanceId, out instanceRecord)) 104instanceFound = instanceRecordMap.TryGetValue(instanceId, out instanceRecord); 131if (this.instanceRecordMap.TryGetValue(instanceId, out instanceRecord)) 154if (instanceRecordMap.TryGetValue(instanceId, out instanceRecord)) 273if (!this.instanceRecordMap.TryGetValue(args.WorkflowInstance.InstanceId, out instanceRecord)) 293if (!this.instanceRecordMap.TryGetValue(args.WorkflowInstance.InstanceId, out instanceRecord))
System\Workflow\Runtime\Hosting\ChannelManager.cs (2)
239this.factoryCache.TryGetValue(key, out currentFactory); 260if (this.factoryCache.TryGetValue(address, out factory))
System.Xml (54)
parent\parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
70isPresent = s_switchMap.TryGetValue(switchName, out isEnabled);
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
803if (prefix != null && this.namespaces.TryGetValue(prefix, out decl)) { 2149this.namespaces.TryGetValue(prefix, out curDecl);
System\Xml\Core\XmlTextWriter.cs (3)
1261if ( nsHashtable.TryGetValue(prefix, out existingNsIndex)) { 1300if ( nsHashtable.TryGetValue( prefix, out nsIndex ) ) { 1317if ( nsHashtable.TryGetValue( prefix, out nsIndex ) ) {
System\Xml\Core\XmlWellFormedWriter.cs (2)
1548if (nsHashtable.TryGetValue(prefix, out existingNsIndex)) { 1557if (nsHashtable.TryGetValue(prefix, out index)) {
System\Xml\Dom\XmlDocument.cs (1)
571if ( schInfo.ElementDecls.TryGetValue(qname, out elemDecl) ) {
System\Xml\Resolvers\XmlPreloadedResolver.cs (2)
206if (!mappings.TryGetValue(absoluteUri, out data)) { 240if (!mappings.TryGetValue(absoluteUri, out data)) {
System\Xml\Resolvers\XmlPreloadedResolverAsync.cs (1)
30if (!mappings.TryGetValue(absoluteUri, out data)) {
System\Xml\Schema\BaseValidator.cs (2)
236if (!sinfo.GeneralEntities.TryGetValue(new XmlQualifiedName(name), out en)) { 256if (!sinfo.GeneralEntities.TryGetValue(new XmlQualifiedName(name), out en)) {
System\Xml\Schema\DtdParser.cs (7)
626if (!schemaInfo.ElementDecls.TryGetValue(elementName, out elementDecl)) { 627if (!schemaInfo.UndeclaredElementDecls.TryGetValue(elementName, out elementDecl)) { 889if (schemaInfo.ElementDecls.TryGetValue(name, out elementDecl)) { 897if ( schemaInfo.UndeclaredElementDecls.TryGetValue(name, out elementDecl ) ) { 1411if (undeclaredNotations.TryGetValue(notationName, out loggedUn)) { 3176schemaInfo.ParameterEntities.TryGetValue(entityName, out entity); 3179schemaInfo.GeneralEntities.TryGetValue(entityName, out entity);
System\Xml\Schema\DtdParserAsync.cs (4)
271if (!schemaInfo.ElementDecls.TryGetValue(elementName, out elementDecl)) { 272if (!schemaInfo.UndeclaredElementDecls.TryGetValue(elementName, out elementDecl)) { 534if (schemaInfo.ElementDecls.TryGetValue(name, out elementDecl)) { 542if ( schemaInfo.UndeclaredElementDecls.TryGetValue(name, out elementDecl ) ) {
System\Xml\Schema\DtdValidator.cs (2)
388if (schemaInfo.ParameterEntities.TryGetValue(qname, out entity)) { 393if (schemaInfo.GeneralEntities.TryGetValue(qname, out entity)) {
System\Xml\Schema\SchemaElementDecl.cs (2)
84if (attdefs.TryGetValue(qname, out attDef)) { 194if (attdefs.TryGetValue(qname, out attDef)) {
System\Xml\Schema\SchemaInfo.cs (8)
128if (elementDecls.TryGetValue(qname, out elemDecl)) { 136if (elementDeclsByType.TryGetValue(qname, out elemDecl)) { 183if (!attributeDecls.TryGetValue(qname, out attdef) && targetNamespaces.ContainsKey(qname.Namespace)) { 207if (attributeDecls.TryGetValue(qname, out attdef)) { 243if (attributeDecls.TryGetValue(qname, out attdef)) { 356if (!elementDecls.TryGetValue(qname, out elementDecl)) { 357undeclaredElementDecls.TryGetValue(qname, out elementDecl); 375if (generalEntities.TryGetValue(qname, out entity)) {
System\Xml\Schema\XdrBuilder.cs (2)
627if (builder._SchemaInfo.AttributeDecls.TryGetValue(gname, out ad)) { 1148if (builder._SchemaInfo.AttributeDecls.TryGetValue(gname, out ad)) {
System\Xml\Schema\XmlSchemaObjectTable.cs (4)
30if (table.TryGetValue(name, out oldValue)) { 47if (table.TryGetValue(name, out oldValue)) { 63if (table.TryGetValue(name, out value)) { 98if (table.TryGetValue(name, out value)) {
System\Xml\Schema\XmlSchemaValidator.cs (1)
1512compiledSchemaInfo.AttributeDecls.TryGetValue(attQName, out attdef); //the xml attributes are all global attributes
System\Xml\Schema\XsdValidator.cs (1)
337if (!schemaInfo.ElementDeclsByType.TryGetValue(xsiType, out elementDeclXsi) && xsiType.Namespace == NsXs) {
System\Xml\Serialization\CodeGenerator.cs (5)
163if (!TmpLocals.TryGetValue(type, out localTmp)) { 194if (argList != null && argList.TryGetValue(name, out arg)) { 234if (freeLocals.TryGetValue(key, out freeLocalQueue)) { 2549if (locals.TryGetValue(key, out value)) { 2576if (freeLocals.TryGetValue(key, out freeLocalQueue)) {
System\Xml\Serialization\Types.cs (1)
1036if (replaceList.TryGetValue(mappings[i].Name, out mi))
System\Xml\Serialization\XmlSerializationILGen.cs (2)
69if (!regexs.TryGetValue(pattern, out regex)) { 80if (!methodBuilders.TryGetValue(methodName, out methodBuilderInfo)) {
System\Xml\XmlNamespacemanager.cs (1)
255if ( hashTable.TryGetValue( prefix, out declIndex ) ) {
System.Xml.Linq (1)
System\Xml\Linq\XNodeValidator.cs (1)
137if (!schemaInfos.TryGetValue(schemaInfo, out si)) {
WindowsBase (21)
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (2)
206if (!_trackers.TryGetValue(DO, out tracker)) 223if (_trackers.TryGetValue(DO, out tracker))
Base\MS\Internal\ComponentModel\DependencyObjectProvider.cs (2)
223if (!_propertyMap.TryGetValue(key, out dpProp)) 245if (!_propertyKindMap.TryGetValue(key, out kind))
Base\MS\Internal\ComponentModel\DPCustomTypeDescriptor.cs (1)
294inMap = _propertyMap.TryGetValue(prop, out dpProp);
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (1)
905_rsaSigMethodLookup.TryGetValue(_manager.HashAlgorithm, out signatureMethod);
Base\MS\Internal\TraceLevelStore.cs (1)
53if (!_dictionary.TryGetValue(key, out result))
Base\System\ComponentModel\DependencyPropertyDescriptor.cs (3)
73found = _cache.TryGetValue(property, out dpd); 150_ignorePropertyTypeCache.TryGetValue(dependencyProperty, out dpd); 218_cache.TryGetValue(dependencyProperty, out dpd);
Base\System\Windows\DependencyObjectType.cs (1)
88if (!DTypeFromCLRType.TryGetValue(systemType, out dType))
Base\System\Windows\Markup\XmlCompatibilityReader.cs (9)
134if (_namespaceMap.TryGetValue(newNamespace, out tempNamespace)) 246if (!_elementHandler.TryGetValue(elementName, out elementCB)) 792if (!_namespaceMap.TryGetValue(namespaceName, out mappedNamespace)) 841if (!_namespaceMap.TryGetValue(mappedNamespace, out tempNamespace)) 1090if (!_attributeHandler.TryGetValue(attributeName, out attributeCB)) 1806if (_processContents != null && _processContents.TryGetValue(namespaceName, out set)) 1834if (!_processContents.TryGetValue(namespaceName, out processContentSet)) 1849if (!_preserveElements.TryGetValue(namespaceName, out preserveElementSet)) 1864if (!_preserveAttributes.TryGetValue(namespaceName, out preserveAttributeSet))
Shared\MS\Internal\SafeSecurityHelper.cs (1)
220if (_assemblies.TryGetValue(key, out result))
WsatConfig (3)
CommandLine\ArgumentsParser.cs (1)
85if (optionsHitCount.TryGetValue(option, out hitCount))
Configuration\MsdtcWrapper.cs (1)
53wrappers.TryGetValue(key, out wrapper);
Configuration\RemoteHelper.cs (1)
204if (processesExited.TryGetValue(value, out exitCode))
WsatUI (2)
Configuration\MsdtcWrapper.cs (1)
53wrappers.TryGetValue(key, out wrapper);
Configuration\RemoteHelper.cs (1)
204if (processesExited.TryGetValue(value, out exitCode))
XamlBuildTask (3)
Microsoft\Build\Tasks\Xaml\NamespaceTable.cs (2)
54if (null != currentNamespaces && currentNamespaces.TryGetValue(prefix, out @namespace)) 60if (tempNamespaceList != null && tempNamespaceList.TryGetValue(prefix, out @namespace))
Microsoft\Build\Tasks\Xaml\ResolveAssemblyHelper.cs (1)
56this.ReferencedAssemblies.TryGetValue(targetName, out targetAssembly);