3 writes to Value
mscorlib (1)
system\security\policy\netcodegroup.cs (1)
355result[i].Value = ((ArrayList)m_accessList[i]).ToArray(typeof(CodeConnectAccess));
PresentationFramework (1)
src\Framework\System\Windows\ResourceDictionary.cs (1)
111entry.Value = value; // refresh the entry value in case it was changed in the previous call
System.Configuration (1)
System\Configuration\ConfigurationElementCollection.cs (1)
1284_current.Value = entry._value;
460 references to Value
mscorlib (62)
system\resources\resourcemanager.cs (2)
1574String assemblyName = (String) de.Value; 1576throw new ApplicationException(Environment.GetResourceString("XMLSyntax_InvalidSyntaxSatAssemTagBadAttr", Path.GetFileName(fileName), de.Key, de.Value));
system\resources\runtimeresourceset.cs (1)
369ResourceLocator resLoc = new ResourceLocator(-1, entry.Value);
system\runtime\remoting\configuration.cs (7)
1168entries[co++] = (ActivatedServiceTypeEntry)dictEntry.Value; 1183WellKnownServiceTypeEntry entry = (WellKnownServiceTypeEntry)dictEntry.Value; 1205ActivatedClientTypeEntry entry = dictEntry.Value as ActivatedClientTypeEntry; 1216ActivatedClientTypeEntry entry = dictEntry.Value as ActivatedClientTypeEntry; 1248WellKnownClientTypeEntry entry = dictEntry.Value as WellKnownClientTypeEntry; 1259WellKnownClientTypeEntry entry = dictEntry.Value as WellKnownClientTypeEntry; 1327(WellKnownServiceTypeEntry)entry.Value;
system\runtime\remoting\ichannel.cs (2)
347return entry.Value; 432return entry.Value;
system\runtime\remoting\messagesmuggler.cs (2)
438dict[de.Key] = de.Value; 602dict[de.Key] = de.Value;
system\runtime\remoting\remotingconfigparser.cs (39)
821Convert.ToBoolean((String)entry.Value, CultureInfo.InvariantCulture); 837configData.ApplicationName = (String)entry.Value; 860string value = (string)entry.Value; 892configData.Lifetime.LeaseTime = ParseTime((String)entry.Value, configData); 896configData.Lifetime.SponsorshipTimeout = ParseTime((String)entry.Value, configData); 900configData.Lifetime.RenewOnCallTime = ParseTime((String)entry.Value, configData); 904configData.Lifetime.LeaseManagerPollTime = ParseTime((String)entry.Value, configData); 942case "url": remoteAppUri = (String)entry.Value; break; 983configData.UrlObjRefMode = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); 1042String value = (String)entry.Value; 1054case "objectUri": objectURI = (String)entry.Value; break; 1058RemotingConfigHandler.ParseType((String)entry.Value, out typeName, out assemName); 1126RemotingConfigHandler.ParseType((String)entry.Value, out typeName, out assemName); 1184RemotingConfigHandler.ParseType((String)entry.Value, out typeName, out assemName); 1188case "url": url = (String)entry.Value; break; 1223RemotingConfigHandler.ParseType((String)entry.Value, out typeName, out assemName); 1267RemotingConfigHandler.ParseType((String)entry.Value, out xmlElementName, out xmlElementNamespace); 1273RemotingConfigHandler.ParseType((String)entry.Value, out urtTypeName, out urtAssemName); 1307RemotingConfigHandler.ParseType((String)entry.Value, out xmlTypeName, out xmlTypeNamespace); 1313RemotingConfigHandler.ParseType((String)entry.Value, out urtTypeName, out urtAssemName); 1345RemotingConfigHandler.ParseType((String)entry.Value, out typeName, out assemblyName); 1351assemblyName = (String)entry.Value; 1388RemotingConfigHandler.ParseType((String)entry.Value, out typeName, out assemName); 1393properties[lowercaseKey] = entry.Value; 1439id = ((String)entry.Value).ToLower(CultureInfo.InvariantCulture); 1453(RemotingXmlConfigFileData.ChannelEntry)_channelTemplates[entry.Value]; 1457node, entry.Value.ToString(), configData); 1467properties[param.Key] = param.Value; 1477RemotingConfigHandler.ParseType((String)entry.Value, out typeName, out assemName); 1483delayLoad = Convert.ToBoolean((String)entry.Value, CultureInfo.InvariantCulture); 1488properties[keyStr] = entry.Value; 1614id = (String)entry.Value; 1630_serverChannelSinkTemplates[entry.Value]; 1635_clientChannelSinkTemplates[entry.Value]; 1641node, entry.Value.ToString(), configData); 1651properties[param.Key] = param.Value; 1661RemotingConfigHandler.ParseType((String)entry.Value, out typeName, out assemName); 1666properties[keyStr] = entry.Value; 1730providerData.Properties[entry.Key] = entry.Value;
system\runtime\serialization\formatters\binary\binarymethodmessage.cs (2)
93dict[de.Key] = de.Value; 162dict[de.Key] = de.Value;
system\security\cryptography\cryptoconfig.cs (6)
852typeAliases.Add((string)attribute.Key, (string)attribute.Value); 865friendlyName = (string)attribute.Value; 867className = (string)attribute.Value; 898oidString = (string)attribute.Value; 900friendlyName = (string)attribute.Value; 941if (String.Compare((string)attribute.Value, Version, StringComparison.Ordinal) == 0)
system\security\policy\netcodegroup.cs (1)
845foreach (CodeConnectAccess access in (CodeConnectAccess[])rule.Value)
PresentationBuildTasks (1)
Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
397ReflectionHelper.LoadAssembly(entry.Key as String, entry.Value as String);
PresentationCore (3)
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (2)
774ArrayList elements = (ArrayList)entry.Value; 795ArrayList elements = (ArrayList)entry.Value;
Core\CSharp\System\Windows\Media\Imaging\ImagingCache.cs (1)
95WeakReference weakRef = de.Value as WeakReference;
PresentationFramework (21)
src\Framework\MS\Internal\Data\StaticPropertyChangedEventManager.cs (3)
410size += ((PropertyRecord)de.Value).List.Count; 419ListenerList listeners = ((PropertyRecord)de.Value).List; 567PropertyRecord pr = (PropertyRecord)de.Value;
src\Framework\MS\Internal\Data\ViewManager.cs (3)
258ViewRecord vr = (ViewRecord)de.Value; 661ViewRecord vr = (ViewRecord)de.Value; 802CollectionRecord cr = (CollectionRecord)de.Value;
src\Framework\MS\Internal\DataStreams.cs (1)
266CustomJournalStateInternal cjs = (CustomJournalStateInternal)entry.Value;
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (1)
75(BamlLocalizableResource) entry.Value,
src\Framework\System\Windows\Controls\Grid.cs (1)
1332double requestedSize = (double)e.Value;
src\Framework\System\Windows\Documents\AdornerLayer.cs (2)
436ArrayList adornerInfos = (ArrayList)zOrderMapEntries[i].Value; 470ArrayList adornerInfos = (ArrayList)zOrderMapEntries[i].Value;
src\Framework\System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
82return (BamlLocalizableResource) Entry.Value;
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (2)
538ElementProperty.CheckForMarkupExtension(typeof(Object), entry.Value, Context, false), Manager); 1196ElementMarkupObject item = new ElementMarkupObject(entry.Value, Manager);
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (2)
326newDict.Add(de.Key, de.Value); 397ReflectionHelper.LoadAssembly(entry.Key as String, entry.Value as String);
src\Framework\System\Windows\Markup\XamlTypeMapperSchemaContext.cs (2)
58ClrNamespaceAssemblyPair pair = (ClrNamespaceAssemblyPair)entry.Value; 146ClrNamespaceAssemblyPair mapping = (ClrNamespaceAssemblyPair)piEntry.Value;
src\Framework\System\Windows\Media\Animation\Storyboard.cs (1)
613object value = entry.Value;
src\Framework\System\Windows\ResourceDictionary.cs (1)
108object value = entry.Value;
src\Framework\System\Windows\StyleHelper.cs (1)
2312if (entry.Value is MarkupExtension)
System (28)
compmod\system\codedom\compiler\Executor.cs (1)
202environment[(string) entry.Key] = (string) entry.Value;
compmod\system\collections\specialized\ordereddictionary.cs (6)
157return ((DictionaryEntry)objectsArray[index]).Value; 300objectsTable.Add(entry.Key, entry.Value); 405return ((DictionaryEntry)arrayEnumerator.Current).Value; 416return new DictionaryEntry(((DictionaryEntry)arrayEnumerator.Current).Key, ((DictionaryEntry)arrayEnumerator.Current).Value); 434return ((DictionaryEntry)arrayEnumerator.Current).Value; 473array.SetValue(isKeys ? ((DictionaryEntry)o).Key : ((DictionaryEntry)o).Value, index);
compmod\system\collections\specialized\stringdictionary.cs (2)
325array[index++] = new KeyValuePair<string, string>((string)entry.Key, (string)entry.Value); 362yield return new KeyValuePair<string, string>((string)dictionaryEntry.Key, (string)dictionaryEntry.Value);
compmod\system\componentmodel\ComponentResourceManager.cs (1)
223sd[(string)de.Key] = de.Value;
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (2)
783ReflectedTypeData typeData = (ReflectedTypeData)de.Value; 1368hashEntry = de.Value;
compmod\system\componentmodel\TypeDescriptor.cs (3)
2897TypeDescriptionNode node = (TypeDescriptionNode)de.Value; 2985TypeDescriptionNode node = (TypeDescriptionNode)de.Value; 3049TypeDescriptionNode node = (TypeDescriptionNode)de.Value;
compmod\system\security\permissions\ResourcePermissionBase.cs (3)
405if (!IsContentSubset(currentEntry.Value, targetAnyContent)) { 416if (HasContent(currentEntry.Value)) { 421else if (!IsContentSubset(currentEntry.Value, targetContentTable[currentContentKey])) {
net\System\Net\_SslSessionsCache.cs (1)
205cached = toRemoveAttempt[i].Value as SafeCredentialReference;
net\System\Net\_TimerThread.cs (1)
248if (((WeakReference) pair.Value).Target == null) {
net\System\Net\cookiecontainer.cs (2)
401pathList = (PathList) entry.Value; //aliasing to trick foreach 777CookieCollection cc = (CookieCollection)entry.Value;
net\System\Net\NetworkInformation\NetworkAddressChange.cs (2)
115ExecutionContext context = (ExecutionContext) entry.Value; 217ExecutionContext context = (ExecutionContext) entry.Value;
net\System\Net\ServicePointManager.cs (1)
902WeakReference servicePointReference = item.Value as WeakReference;
services\monitoring\system\diagnosticts\ProcessStartInfo.cs (1)
193environmentVariables.Add((string)entry.Key, (string)entry.Value);
sys\system\configuration\ClientSettingsStore.cs (1)
181StoredSetting ss = (StoredSetting) entry.Value;
sys\system\configuration\SettingsPropertyValueCollection.cs (1)
81if ((int)de.Value > ipos)
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
1113return ((DictionaryEntry)keyValuePair).Value;
System.Configuration (9)
System\Configuration\ConfigurationElementCollection.cs (2)
1297return _current.Value; 1315return _current.Value;
System\Configuration\ConfigurationLockCollection.cs (2)
220if ((((ConfigurationValueFlags)de.Value & ConfigurationValueFlags.Inherited) == 0) 337if ((bool)(((ConfigurationValueFlags)de.Value & ConfigurationValueFlags.Inherited) != 0)) {
System\Configuration\ConfigurationSectionCollection.cs (1)
29FactoryId factoryId = (FactoryId) de.Value;
System\Configuration\ConfigurationSectionGroupCollection.cs (1)
28FactoryId factoryId = (FactoryId) de.Value;
System\Configuration\MgmtConfigurationRecord.cs (1)
1699SectionRecord sectionRecord = (SectionRecord) de.Value;
System\Configuration\SectionUpdates.cs (2)
251SectionUpdates sectionUpdates = (SectionUpdates) de.Value; 274SectionUpdates sectionUpdates = (SectionUpdates) de.Value;
System.Data (11)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
1113return ((DictionaryEntry)keyValuePair).Value;
fx\src\data\System\Data\PropertyCollection.cs (1)
33clone.Add(pair.Key, pair.Value);
fx\src\data\System\Data\SqlClient\SqlException.cs (1)
190exception.Data.Add(entry.Key, entry.Value);
fx\src\data\System\Data\xmlsaver.cs (5)
81if (entry.Value is INullable) { 82v = (String) SqlConvert.ChangeTypeForXML(entry.Value, typeof(string)); 84else if (entry.Value is System.Numerics.BigInteger) { 85v = (string)BigIntegerStorage.ConvertFromBigInteger((System.Numerics.BigInteger)entry.Value, typeof(string), CultureInfo.InvariantCulture); 88v = (String) Convert.ToString(entry.Value, CultureInfo.InvariantCulture);
fx\src\data\System\NewXml\XmlDataDocument.cs (3)
65IXmlDataVirtualNode temp = (IXmlDataVirtualNode)(entry.Value); 806pointer = entry.Value; 1507object pointer = entry.Value;
System.Data.SqlXml (2)
System\Xml\Xsl\XsltOld\Compiler.cs (1)
822CodeTypeDeclaration scriptClass = (CodeTypeDeclaration)entry.Value;
System\Xml\Xsl\XsltOld\Processor.cs (1)
339scriptExtensions.Add(namespaceUri, Activator.CreateInstance((Type)entry.Value,
System.Drawing (1)
commonui\System\Drawing\Design\ToolboxItem.cs (1)
836info.AddValue((string)de.Key, de.Value);
System.Management (8)
Instrumentation\EventSource.cs (5)
787if(managedType != entry.Value.GetType()) 804lock(entry.Value) 805funcs[count](entry.Value); 826lock(entry.Value) 827funcs[count](entry.Value);
Instrumentation\SchemaMapping.cs (1)
282 codeCCTOR.Line(String.Format("mapTypeToConverter[typeof({0})] = typeof({1});", ((Type)entry.Key).FullName.Replace('+', '.'), (string)entry.Value)); // bug#92918 - watch for nested classes
managementoperationwatcher.cs (2)
181copiedSinkTable.Add (entry.Key, entry.Value); 198WmiEventSink eventSink = (WmiEventSink) entry.Value;
System.Runtime.Caching (2)
System\Caching\MemoryCacheStore.cs (2)
195MemoryCacheEntry entry = e.Value as MemoryCacheEntry; 219MemoryCacheEntry entry = e.Value as MemoryCacheEntry;
System.Runtime.Remoting (89)
channels\core\socketcache.cs (1)
386RemoteConnection connection = (RemoteConnection)entry.Value;
channels\http\combinedhttpchannel.cs (7)
67case "name": _channelName = (String)entry.Value; break; 68case "priority": _channelPriority = Convert.ToInt32((String)entry.Value, CultureInfo.InvariantCulture); break; 69case "secure": _secure = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); 70clientData["secure"] = entry.Value; 71serverData["secure"] = entry.Value; 74clientData[entry.Key] = entry.Value; 75serverData[entry.Key] = entry.Value;
channels\http\httpclientchannel.cs (10)
93case "name": _channelName = (String)entry.Value; break; 94case "priority": _channelPriority = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 96case "proxyName": this["proxyName"] = entry.Value; break; 97case "proxyPort": this["proxyPort"] = entry.Value; break; 98case "timeout": _timeout = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 102_clientConnectionLimit = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); 108_bUseDefaultCredentials = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); 114_bAuthenticatedConnectionSharing = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); 678httpWebRequest.ContentType = header.Value.ToString(); 680httpWebRequest.Headers[key] = header.Value.ToString();
channels\http\httpremotinghandler.cs (1)
658httpResponse.AppendHeader(key, entry.Value.ToString());
channels\http\httpserverchannel.cs (9)
111case "name": _channelName = (String)entry.Value; break; 112case "bindTo": _bindToAddr = IPAddress.Parse((String)entry.Value); break; 113case "listen": _wantsToListen = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 114case "machineName": _forcedMachineName = (String)entry.Value; break; 115case "port": _port = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 116case "priority": _channelPriority = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 117case "suppressChannelData": _bSuppressChannelData = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 118case "useIpAddress": _bUseIpAddress = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 119case "exclusiveAddressUse": _bExclusiveAddressUse = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break;
channels\http\httpsocketmanager.cs (1)
112WriteHeader(headerName, (String)header.Value, outputStream);
channels\ipc\ipcchannel.cs (5)
70case "name": _channelName = (String)entry.Value; break; 71case "priority": _channelPriority = Convert.ToInt32((String)entry.Value, CultureInfo.InvariantCulture); break; 74serverData["portName"] = entry.Value; 80clientData[entry.Key] = entry.Value; 81serverData[entry.Key] = entry.Value;
channels\ipc\ipcclientchannel.cs (3)
69case "name": _channelName = (String)entry.Value; break; 70case "priority": _channelPriority = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 71case "secure": _secure = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break;
channels\ipc\ipcserverchannel.cs (8)
101case "name": _channelName = (String)entry.Value; break; 102case "portName": _portName = (String)entry.Value; break; 103case "priority": _channelPriority = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 104case "secure": _secure = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 105case "impersonate": _impersonate = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); authSet = true; break; 106case "suppressChannelData": _bSuppressChannelData = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 107case "authorizedGroup": _authorizedGroup = (String)entry.Value; break; 108case "exclusiveAddressUse": _bExclusiveAddressUse = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break;
channels\ipc\portcache.cs (1)
73PortConnection connection = (PortConnection)entry.Value;
channels\sinks\binaryformattersinks.cs (6)
61case "includeVersions": _includeVersioning = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 62case "strictBinding": _strictBinding = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 333case "includeVersions": _includeVersioning = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 334case "strictBinding": _strictBinding = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 336_formatterSecurityLevel = (TypeFilterLevel) Enum.Parse(typeof(TypeFilterLevel), (string)entry.Value); 691responseHeaders[entry.Key] = entry.Value;
channels\sinks\soapformattersinks.cs (6)
62case "includeVersions": _includeVersioning = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 63case "strictBinding": _strictBinding = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 385case "includeVersions": _includeVersioning = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 386case "strictBinding": _strictBinding = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 388_formatterSecurityLevel = (TypeFilterLevel) Enum.Parse(typeof(TypeFilterLevel), (string)entry.Value); 765responseHeaders[entry.Key] = entry.Value;
channels\tcp\combinedtcpchannel.cs (5)
63case "name": _channelName = (String)entry.Value; break; 64case "priority": _channelPriority = Convert.ToInt32((String)entry.Value, CultureInfo.InvariantCulture); break; 67serverData["port"] = entry.Value; 73clientData[entry.Key] = entry.Value; 74serverData[entry.Key] = entry.Value;
channels\tcp\tcpclientchannel.cs (3)
73case "name": _channelName = (String)entry.Value; break; 74case "priority": _channelPriority = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 75case "secure": _secure = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break;
channels\tcp\tcpserverchannel.cs (15)
103case "name": _channelName = (String)entry.Value; break; 104case "bindTo": _bindToAddr = IPAddress.Parse((String)entry.Value); break; 105case "port": _port = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 106case "priority": _channelPriority = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 107case "secure": _secure = Convert.ToBoolean(entry.Value); break; 108case "impersonate": _impersonate = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); authSet = true; break; 109case "protectionLevel": _protectionLevel = (ProtectionLevel)(entry.Value is ProtectionLevel ? entry.Value : 111(String)entry.Value, true)); 115case "machineName": _forcedMachineName = (String)entry.Value; break; 119bool bReject = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); 134case "suppressChannelData": _bSuppressChannelData = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 135case "useIpAddress": _bUseIpAddress = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 136case "exclusiveAddressUse": _bExclusiveAddressUse = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 138_authorizeRemotingConnection = (IAuthorizeRemotingConnection) Activator.CreateInstance(Type.GetType((String)entry.Value, true));
channels\tcp\tcpsocketmanager.cs (1)
252String headerValue = header.Value.ToString();
metadata\sdlchannelsink.cs (2)
50case "remoteApplicationMetadataEnabled": _bRemoteApplicationMetadataEnabled = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 51case "metadataEnabled": _bMetadataEnabled = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break;
metadata\wsdlparser.cs (5)
929((IDump)d.Value).Dump(); 931((IDump)d.Value).Dump(); 7081Util.Log(" sections key "+d.Key+" value "+((WsdlPortTypeOperation)d.Value).name); 7456((INamespaces)d.Value).UsedNamespace(namespaces); 7463((IDump)d.Value).Dump();
System.Runtime.Serialization (1)
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
317genericDictionaryObj.Add(entry.Key, entry.Value);
System.ServiceModel (1)
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
140targetCompileUnit.UserData[userData.Key] = userData.Value;
System.ServiceModel.Internals (2)
System\Runtime\Collections\OrderedDictionary.cs (2)
181array[index] = new KeyValuePair<TKey, TValue>((TKey)entry.Key, (TValue)entry.Value); 190yield return new KeyValuePair<TKey, TValue>((TKey)entry.Key, (TValue)entry.Value);
System.Transactions (1)
System\Transactions\TransactionManager.cs (1)
97WeakReference weakRef = (WeakReference)entry.Value;
System.Web (101)
Cache\SqlCacheDependency.cs (2)
641object obj = entry.Value; 1151DatabaseNotifState state = (DatabaseNotifState)entry.Value;
Compilation\BaseResourcesBuildProvider.cs (2)
137writer.AddResource((string)de.Key, de.Value); 196resourceList.Add(de.Key, de.Value);
Compilation\BrowserCapabilitiesCompiler.cs (3)
457bd = entry.Value as BrowserDefinition; 464bd = entry.Value as BrowserDefinition; 472bd = entry.Value as BrowserDefinition;
Compilation\ProfileBuildProvider.cs (2)
127ProfileNameTypeStruct property = (ProfileNameTypeStruct)de.Value; 152AddPropertyGroup(assemblyBuilder, (string) de.Key, (string) de.Value, properties, type, ns);
Configuration\BrowserCapabilitiesCodeGenerator.cs (7)
319BrowserDefinition bd = (BrowserDefinition)entry.Value; 360BrowserDefinition bd = (BrowserDefinition)entry.Value; 382BrowserDefinition bd = (BrowserDefinition)entry.Value; 765BrowserDefinition bd = entry.Value as BrowserDefinition; 773BrowserDefinition bd = entry.Value as BrowserDefinition; 779BrowserDefinition bd = entry.Value as BrowserDefinition; 1430string adapterString = (string)entry.Value;
Configuration\HealthMonitoringSectionHelper.cs (1)
589if (de.Value is ProviderSettings) {
Configuration\TransformerInfoCollection.cs (1)
114Type existingTransformerType = (Type)entry.Value;
FileChangesMonitor.cs (2)
607FileMonitor fileMon = (FileMonitor) e.Value; 1022fileMon = (FileMonitor) d.Value;
Hosting\ApplicationManager.cs (1)
1219appDomain.SetData((String)e.Key, (String)e.Value);
Hosting\ProcessHost.cs (1)
786protocolList.Add(e.Value);
Management\WebEvents.cs (2)
2534WebEventProvider provider = (WebEventProvider)de.Value; 2550WebEventProvider provider = (WebEventProvider)de.Value;
UI\AttributeCollection.cs (1)
146hashCodeCombiner.AddObject(attr.Value);
UI\BaseTemplateParser.cs (1)
349newTable[entry.Key] = ((ArrayList)entry.Value).Clone();
UI\BatchParser.cs (1)
281ProcessMainDirectiveAttribute(deviceName, name, (string) entry.Value);
UI\ClientScriptManager.cs (4)
1082ListDictionary expandoAttributes = (ListDictionary)controlEntry.Value; 1088if (expandoAttribute.Value == null) { 1094writer.Write(expandoAttribute.Value); 1119HttpUtility.HtmlEncode((string)entry.Value, writer);
UI\ControlBuilder.cs (2)
1573newAttribs.AddFilteredAttribute(String.Empty, entry.Key.ToString(), entry.Value.ToString()); 2939string value = attribute.Value.ToString();
UI\CssStyleCollection.cs (4)
329writer.WriteAttribute((string)entry.Key, (string)entry.Value); 334writer.WriteAttribute((HtmlTextWriterStyle)entry.Key, (string)entry.Value); 347writer.AddStyleAttribute((string)entry.Key, (string)entry.Value); 352writer.AddStyleAttribute((HtmlTextWriterStyle)entry.Key, (string)entry.Value);
UI\ObjectPersistData.cs (1)
172table[entry.Key] = entry.Value;
UI\ObjectStateFormatter.cs (1)
1020objectStack.Push(entry.Value);
UI\OrderedDictionaryStateHelper.cs (1)
38list.Add(new Pair(entry.Key, entry.Value));
UI\ParsedAttributeCollection.cs (1)
39_allFiltersDictionary[Util.CreateFilteredName(fac.Filter, entry.Key.ToString())] = entry.Value;
UI\TemplateParser.cs (5)
1181string attribValue = (string) entry.Value; 1764directive[entry.Key] = entry.Value; 1857if (!ProcessMainDirectiveAttribute(deviceName, attribName, (string)entry.Value, parseData)) { 1862unknownAttributes.AddFilteredAttribute(deviceName, attribName, (string)entry.Value); 1889ProcessUnknownMainDirectiveAttribute(filter, attribName, (string) attribute.Value);
UI\WebControls\Content.cs (2)
94_contentPlaceHolder = entry.Value.ToString(); 99preservedAttributes[key] = entry.Value.ToString();
UI\WebControls\DataKey.cs (1)
87table.Add(entry.Key, entry.Value);
UI\WebControls\DetailsView.cs (5)
2228fieldValues[entry.Key] = entry.Value; 2321e.Keys.Add(entry.Key, entry.Value); 2467keys.Add(entry.Key, entry.Value); 2638e.OldValues.Add(entry.Key, entry.Value); 2643e.Keys.Add(entry.Key, entry.Value);
UI\WebControls\FilteredDataSetHelper.cs (2)
39if (de.Value == null) { 43values[index] = de.Value;
UI\WebControls\FormView.cs (5)
1902fieldValues[entry.Key] = entry.Value; 1951e.Keys.Add(entry.Key, entry.Value); 2098keys.Add(entry.Key, entry.Value); 2268e.OldValues.Add(entry.Key, entry.Value); 2273e.Keys.Add(entry.Key, entry.Value);
UI\WebControls\GridView.cs (5)
2765fieldValues[entry.Key] = entry.Value; 2861e.Keys.Add(entry.Key, entry.Value); 3070keys.Add(entry.Key, entry.Value); 3202e.OldValues.Add(entry.Key, entry.Value); 3207e.Keys.Add(entry.Key, entry.Value);
UI\WebControls\ModelDataSourceView.cs (2)
1078genericDictionary.Add((string)entry.Key, entry.Value); 1272object value = de.Value;
UI\WebControls\ObjectDataSource.cs (4)
836if ((entry.Value != null) && (entry.Value != DBNull.Value)) { 838sb.Append(entry.Value.ToString()); 841if (entry.Value == DBNull.Value) {
UI\WebControls\ObjectDataSourceView.cs (4)
700object value = BuildObjectValue(de.Value, pd.PropertyType, propName, ParsingCulture); 999mergedParameters[de.Key] = de.Value; 1057queryRowCountParameters.Add(entry.Key, entry.Value); 1772object value = de.Value;
UI\WebControls\SqlDataSource.cs (4)
895if ((entry.Value != null) && (entry.Value != DBNull.Value)) { 897sb.Append(entry.Value.ToString()); 900if (entry.Value == DBNull.Value) {
UI\WebControls\SqlDataSourceView.cs (4)
622caseInsensitiveExclusionList.Add(de.Key, de.Value); 643object value = de.Value; 649value = parameter.GetValue(de.Value, false); 1201caseInsensitiveExclusionList.Add(de.Key, de.Value);
UI\WebControls\TemplateField.cs (1)
252object value = entry.Value;
UI\WebParts\BlobPersonalizationState.cs (9)
248unusedProperties[entry.Key] = entry.Value; 404object newValue = entry.Value; 838PersonalizablePropertyEntry property = (PersonalizablePropertyEntry)entry.Value; 930customProperties[(string)entry.Key] = (PersonalizationEntry)entry.Value; 933customProperties[(string)entry.Key] = (PersonalizationEntry)entry.Value; 1021PersonalizationInfo info = (PersonalizationInfo)entry.Value; 1054items.Add(propertyEntry.Value); 1066PersonalizationEntry personalizationEntry = (PersonalizationEntry)customPropertyEntry.Value; 1153object value = entry.Value;
UI\WebParts\ConnectionsZone.cs (2)
2164ConsumerInfo consumer = (ConsumerInfo)consumerEntry.Value; 2219ProviderInfo provider = (ProviderInfo)providerEntry.Value;
UI\WebParts\PersonalizableAttribute.cs (1)
191PersonalizablePropertyEntry propEntry = (PersonalizablePropertyEntry)entry.Value;
UI\WebParts\PersonalizationDictionary.cs (1)
116if (((PersonalizationEntry)entry.Value).Scope == PersonalizationScope.Shared) {
UI\WebParts\WebPartManager.cs (2)
2243Pair data = entry.Value as Pair; 2252PersonalizationEntry personalizationEntry = entry.Value as PersonalizationEntry;
Util\SmtpMail.cs (1)
393LateBoundAccessHelper.SetPropStatic(config, "Fields", (String)e.Key, e.Value);
System.Web.ApplicationServices (1)
Security\MembershipUserCollection.cs (1)
58if ((int)de.Value > ipos)
System.Web.DataVisualization (5)
Common\General\ChartAreaAxes.cs (1)
1257 ArrayList list = (ArrayList)entry.Value;
Common\Utilities\ImageLoader.cs (2)
119if (entry.Value is IDisposable) 121((IDisposable)entry.Value).Dispose();
Common\Utilities\XmlSerializer.cs (2)
1636attrib.Value = GetXmlValue(entry.Value, dataPoint, properyName); 2505SerializeProperty(entry.Value, dataPoint, properyName, writer);
System.Web.DynamicData (2)
DynamicData\FieldTemplateUserControl.cs (1)
319list.Items.Add(new ListItem((string)entry.Key, (string)entry.Value));
DynamicData\QueryableFilterUserControl.cs (1)
58list.Items.Add(new ListItem((string)entry.Key, (string)entry.Value));
System.Web.Entity (4)
System\Data\WebControls\EntityDataSourceView.cs (2)
803if (0 < propertyName.Length && null != de.Value) 825whereParameterList.Add(new ObjectParameter(namedParameterName, de.Value));
System\Data\WebControls\OrderByBuilder.cs (2)
70if (!string.IsNullOrEmpty((string)(de.Value))) 76AppendOrderByKey(orderByClauseBuilder, (string)(de.Value), Strings.EntityDataSourceView_AutoGenerateOrderByParameters, tu);
System.Web.Extensions (16)
Script\Serialization\JavaScriptSerializer.cs (1)
333SerializeDictionaryKeyValue(key, entry.Value, sb, depth, objectsInUse, serializationFormat);
UI\ScriptManager.cs (2)
1189sb.Append(HttpUtility.UrlEncode((string)kvp.Value)); 1207state.Add((string)entry.Key, (string)entry.Value);
UI\WebControls\DataSourceHelper.cs (4)
37values[(string)entry.Key] = entry.Value; 48destination[de.Key] = de.Value; 70object value = de.Value; 145object value = BuildObjectValue(de.Value, property.PropertyType, propName);
UI\WebControls\ListView.cs (6)
2038object value = entry.Value; 2049itemValues[entry.Key] = entry.Value; 2207e.Keys.Add(entry.Key, entry.Value); 2360keys.Add(entry.Key, entry.Value); 2535e.OldValues.Add(entry.Key, entry.Value); 2540e.Keys.Add(entry.Key, entry.Value);
UI\WebControls\QueryableDataSourceHelper.cs (1)
127escapedParameters.Add('@' + key, de.Value);
UI\WebControls\QueryableDataSourceView.cs (2)
549object propertyValue = entry.Value; 572ArrayList value = (ArrayList)entry.Value;
System.Web.Mobile (19)
UI\MobileControls\Adapters\HtmlFormAdapter.cs (1)
277writer.WriteAttribute((String)entry.Key, (String)entry.Value, true);
UI\MobileControls\Adapters\HtmlPageAdapter.cs (3)
237if (entry.Value != null) 240(String)entry.Value); 255(String)entry.Value);
UI\MobileControls\Adapters\WmlFormAdapter.cs (1)
261writer.WriteAttribute((String)entry.Key, (String)entry.Value, true);
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (4)
786Object value = entry.Value; 813if (entry.Value != null) 815WritePostField(hiddenVariablePrefix + (String)entry.Key, (String)entry.Value); 964WriteTextEncodedAttribute("value", (String)entry.Value);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicFormAdapter.cs (2)
143if (entry.Value != null) { 145(String)entry.Value);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPageAdapter.cs (1)
438(String)entry.Value);
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (2)
351(AppliedFiltersCachedState) entry.Value; 883_cacheBuffer.Add(entry.Key, entry.Value);
UI\MobileControls\Design\MobileControlPersister.cs (1)
146collItem = ((DictionaryEntry)collItem).Value;
UI\MobileControls\Design\PropertyOverridesDialog.cs (2)
293(PropertyOverridesCachedState) entry.Value; 477_cacheBuffer.Add(entry.Key, entry.Value);
UI\MobileControls\MobilePage.cs (2)
1194if (entry.Value != null) 1199ctl.LoadPrivateViewStateInternal(entry.Value);
System.Web.Services (6)
System\Web\Services\Description\ServiceDescriptionImporter.cs (1)
268AddDocument((string)entry.Key, entry.Value, schemas, descriptions, webReference.ValidationWarnings);
System\Web\Services\Description\WebServicesInteroperability.cs (1)
74ServiceDescriptionImporter.AddDocument((string)entry.Key, entry.Value, schemas, descriptions, warnings);
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (2)
184e = (Exception)(entry.Value); 492object document = entry.Value;
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (1)
231((DirectoryEntry)(obj.Value)).Dispose();
System\Web\Services\Protocols\HttpServerProtocol.cs (1)
113HttpServerMethod method = (HttpServerMethod)entry.Value;
System.Windows.Forms (8)
winforms\Managed\System\WinForms\AxHost.cs (1)
5328return GetProxyForControl((Control)e.Value);
winforms\Managed\System\WinForms\BindingContext.cs (1)
409WeakReference wRef = (WeakReference) de.Value;
winforms\Managed\System\WinForms\ComboBox.cs (1)
5842if (e.Value == null) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (2)
266entry = de.Value as Com2Properties; 425if (de.Value == propsInfo) {
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
545SetError((Control) entry.Key, (string) entry.Value);
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (1)
761Rectangle bounds = (Rectangle) entry.Value;
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
1189object o = de.Value;
System.Windows.Forms.DataVisualization (5)
Common\General\ChartAreaAxes.cs (1)
1257 ArrayList list = (ArrayList)entry.Value;
Common\Utilities\ImageLoader.cs (2)
119if (entry.Value is IDisposable) 121((IDisposable)entry.Value).Dispose();
Common\Utilities\XmlSerializer.cs (2)
1636attrib.Value = GetXmlValue(entry.Value, dataPoint, properyName); 2505SerializeProperty(entry.Value, dataPoint, properyName, writer);
System.Workflow.Activities (3)
CorrelationValidator.cs (2)
567Hashtable correlationAliasAttrs = (Hashtable)memberEntry.Value; 590Hashtable correlationAliasAttrs = (Hashtable)memberEntry.Value;
Rules\Rule.cs (1)
172newError.UserData[de.Key] = de.Value;
System.Workflow.ComponentModel (25)
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (5)
393AssemblyLoader assemblyLoader = dictionaryEntry.Value as AssemblyLoader; 421AssemblyLoader assemblyLoader = dictionaryEntry.Value as AssemblyLoader; 503AssemblyLoader assemblyLoader = dictionaryEntry.Value as AssemblyLoader; 532AssemblyLoader assemblyLoader = dictionaryEntry.Value as AssemblyLoader; 575Exception e = entry.Value as Exception;
AuthoringOM\Compiler\XomlCompilerHelpers.cs (3)
557if (entry.Key == (object)typeof(Activity) && entry.Value is Activity) 558compilerError.UserData[entry.Key] = ((Activity)entry.Value).QualifiedName; 560compilerError.UserData[entry.Key] = entry.Value;
AuthoringOM\Design\ActivityDesigner.cs (2)
469designerAction.UserData[entry.Key] = entry.Value; 1286PropertyDescriptor prop = entry.Value as PropertyDescriptor;
AuthoringOM\Design\CommandSet.cs (1)
409if (compositeActivityDesigner != null && !compositeActivityDesigner.CanRemoveActivities(new List<Activity>((Activity[])((ArrayList)entry.Value).ToArray(typeof(Activity))).AsReadOnly()))
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
744Activity[] activitiesToMove = (Activity[])((ArrayList)entry.Value).ToArray(typeof(Activity));
AuthoringOM\Design\MessageFilters\WindowManager.cs (1)
268if (compositeActivityDesigner != null && !compositeActivityDesigner.CanRemoveActivities(new List<Activity>((Activity[])((ArrayList)entry.Value).ToArray(typeof(Activity))).AsReadOnly()))
AuthoringOM\Design\TypeConverters.cs (1)
92if ((object)value.GetType() == conditionTypeEntry.Value)
AuthoringOM\Serializer\DictionaryMarkupSerializer.cs (6)
87if ((!entry.Value.GetType().IsValueType && entry.Value == childObj) || 88(entry.Value.GetType().IsValueType && entry.Value.Equals(childObj))) 142if (this.deserializingDictionary || (entry.HasValue && entry.Value.Value == extendee)) 163if (entry.HasValue && entry.Value.Value == extendee)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (5)
564bool key = entry.HasValue && ((!entry.Value.GetType().IsValueType && entry.Value.Key == entry.Value.Value && entry.Value.Value == obj) || 565(entry.Value.GetType().IsValueType && entry.Value.Key.Equals(entry.Value.Value) && entry.Value.Value.Equals(obj))) && 1069childObj2 = ((DictionaryEntry)childObj2).Value;
System.Xml (16)
System\Xml\Schema\ContentValidator.cs (7)
188if ((int)de.Value == symbol) { 194if ((int)de.Value == symbol) { 1986if (!context.AllElementsSet[(int)entry.Value] && (!isRequiredOnly || isRequired[(int)entry.Value])) { 1999if (!context.AllElementsSet[(int)entry.Value] && (!isRequiredOnly || isRequired[(int)entry.Value])) { 2000AddParticleToExpected(this.particles[(int)entry.Value] as XmlSchemaParticle, schemaSet, expectedParticles);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
574redefine.Schema.Groups.Insert((XmlQualifiedName)entry.Key, (XmlSchemaObject)entry.Value); 577redefine.Schema.AttributeGroups.Insert((XmlQualifiedName)entry.Key, (XmlSchemaObject)entry.Value); 580redefine.Schema.SchemaTypes.Insert((XmlQualifiedName)entry.Key, (XmlSchemaObject)entry.Value);
System\Xml\Schema\SchemaNamespacemanager.cs (1)
45if (entry.Value.Equals(ns)) {
System\Xml\Schema\XmlSchemaSet.cs (1)
872schema = (XmlSchema)locationsTable[i].Value;
System\Xml\Serialization\Types.cs (1)
682if (de.Value == typeDesc)
System\Xml\Serialization\XmlSerializationReader.cs (2)
1449if (referencedTargets == null || !referencedTargets.Contains(target.Value)) { 1450UnreferencedObject((string)target.Key, target.Value);
System\Xml\Serialization\XmlSerializationWriter.cs (1)
1266string ns = (string)entry.Value;
UIAutomationClient (2)
MS\Internal\Automation\ProxyManager.cs (2)
155o = ((DictionaryEntry)o).Value; 183o = ((DictionaryEntry)o).Value;
WindowsBase (4)
Base\System\ComponentModel\PropertyChangedEventManager.cs (2)
566size += ((ListenerList)de.Value).Count; 575ListenerList listeners = ((ListenerList)de.Value);
Base\System\Windows\NameScope.cs (1)
254array[arrayIndex++] = new KeyValuePair<string, object>((string)entry.Key, entry.Value);
Shared\MS\Win32\ManagedWndProcTracker.cs (1)
106IntPtr hwnd = (IntPtr)entry.Value;