2 writes to Key
mscorlib (1)
system\security\policy\netcodegroup.cs (1)
354result[i].Key = m_schemesList[i];
System.Configuration (1)
System\Configuration\ConfigurationElementCollection.cs (1)
1283_current.Key = (entry.GetKey(ThisCollection) != null) ? entry.GetKey(ThisCollection) : "key";
356 references to Key
mscorlib (37)
system\resources\resourcemanager.cs (2)
1575if (!String.Equals(de.Key, "name") || String.IsNullOrEmpty(assemblyName) || assemblyNode.Attributes.Count > 1) 1576throw new ApplicationException(Environment.GetResourceString("XMLSyntax_InvalidSyntaxSatAssemTagBadAttr", Path.GetFileName(fileName), de.Key, de.Value));
system\resources\runtimeresourceset.cs (1)
368String readKey = (String) entry.Key;
system\runtime\remoting\ichannel.cs (3)
346if (entry.Key.Equals(key)) 431if (String.Compare((String)entry.Key, strKey, StringComparison.OrdinalIgnoreCase) == 0) 451String headerKey = (String)((DictionaryEntry)_headerList[co]).Key;
system\runtime\remoting\messagesmuggler.cs (2)
438dict[de.Key] = de.Value; 602dict[de.Key] = de.Value;
system\runtime\remoting\remotingconfigparser.cs (20)
595String key = entry.Key.ToString(); 816String key = entry.Key.ToString(); 835String key = entry.Key.ToString(); 858String key = entry.Key.ToString(); 887String key = entry.Key.ToString(); 939String key = entry.Key.ToString(); 978String key = entry.Key.ToString(); 1035String key = entry.Key.ToString(); 1121String key = entry.Key.ToString(); 1177String key = entry.Key.ToString(); 1218String key = entry.Key.ToString(); 1262String key = entry.Key.ToString(); 1302String key = entry.Key.ToString(); 1340String key = entry.Key.ToString(); 1382String lowercaseKey = ((String)entry.Key).ToLower(CultureInfo.InvariantCulture); 1427String keyStr = (String)entry.Key; 1467properties[param.Key] = param.Value; 1603String keyStr = (String)entry.Key; 1651properties[param.Key] = param.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); 864if(String.Compare((string)attribute.Key, "name", StringComparison.Ordinal) == 0) 866else if(String.Compare((string)attribute.Key, "class", StringComparison.Ordinal) == 0) 897if (String.Compare((string)attribute.Key, "OID", StringComparison.Ordinal) == 0) 899else if (String.Compare((string)attribute.Key, "name", StringComparison.Ordinal) == 0) 937if (String.Compare((string)attribute.Key, "version", StringComparison.Ordinal) == 0)
system\security\policy\netcodegroup.cs (1)
844codeOriginElement.AddAttribute("scheme", (string) rule.Key);
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)
782return (string)entry.Key; 815return (string)entry.Key;
Core\CSharp\System\Windows\Media\Imaging\ImagingCache.cs (1)
98al.Add(de.Key);
PresentationFramework (18)
src\Framework\MS\Internal\Data\StaticPropertyChangedEventManager.cs (1)
409Debug.Assert((String)de.Key != AllListenersKey, "special key should not appear");
src\Framework\MS\Internal\Data\ValueTable.cs (1)
254ValueTableKey key = (ValueTableKey)de.Key;
src\Framework\MS\Internal\Data\ViewManager.cs (2)
255WeakRefKey key = (WeakRefKey)de.Key; 801WeakRefKey key = (WeakRefKey)de.Key;
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (1)
74(BamlLocalizableResourceKey) entry.Key,
src\Framework\System\Windows\Controls\Grid.cs (1)
1331SpanKey key = (SpanKey)e.Key;
src\Framework\System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
72return (BamlLocalizableResourceKey) Entry.Key;
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (4)
532return String.Compare(one.Key.ToString(), two.Key.ToString()); 540subItem.SetKey(new ElementKey(entry.Key, keyType, subItem)); 1197item.SetKey(new ElementKey(entry.Key, typeof(object), item));
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)
60_piNamespaces.Add((string)entry.Key, clrNs); 149XmlNamespace = (string)piEntry.Key,
src\Framework\System\Windows\Media\Animation\Storyboard.cs (1)
612ObjectPropertyPair key = (ObjectPropertyPair)entry.Key;
src\Framework\System\Windows\ResourceDictionary.cs (1)
110OnGettingValuePrivate(entry.Key, ref value, out canCache);
src\Framework\System\Windows\StyleHelper.cs (1)
2310DependencyProperty dp = (DependencyProperty)entry.Key;
System (29)
compmod\system\codedom\compiler\Executor.cs (1)
202environment[(string) entry.Key] = (string) entry.Value;
compmod\system\collections\specialized\ordereddictionary.cs (8)
166object key = ((DictionaryEntry)objectsArray[index]).Key; 247object o = ((DictionaryEntry)objectsArray[i]).Key; 300objectsTable.Add(entry.Key, entry.Value); 315object key = ((DictionaryEntry)objectsArray[index]).Key; 402return ((DictionaryEntry)arrayEnumerator.Current).Key; 416return new DictionaryEntry(((DictionaryEntry)arrayEnumerator.Current).Key, ((DictionaryEntry)arrayEnumerator.Current).Value); 425return ((DictionaryEntry)arrayEnumerator.Current).Key; 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)
782Type type = (Type)de.Key; 1363Type keyType = de.Key as Type;
compmod\system\componentmodel\TypeDescriptor.cs (3)
2894Type nodeType = de.Key as Type; 2982Type nodeType = de.Key as Type; 3046Type nodeType = de.Key as Type;
compmod\system\security\permissions\ResourcePermissionBase.cs (1)
414string currentContentKey = (string)currentEntry.Key;
net\System\Net\_SslSessionsCache.cs (2)
213s_CachedCreds[toRemoveAttempt[i].Key] = cached; 215s_CachedCreds.Remove(toRemoveAttempt[i].Key);
net\System\Net\_TimerThread.cs (1)
249garbage.Add((int) pair.Key);
net\System\Net\cookiecontainer.cs (2)
400tempDomain = (string) entry.Key; 773string path = (string)entry.Key;
net\System\Net\NetworkInformation\NetworkAddressChange.cs (2)
114NetworkAvailabilityChangedEventHandler handler = (NetworkAvailabilityChangedEventHandler) entry.Key; 216NetworkAddressChangedEventHandler handler = (NetworkAddressChangedEventHandler) entry.Key;
services\monitoring\system\diagnosticts\ProcessStartInfo.cs (1)
193environmentVariables.Add((string)entry.Key, (string)entry.Value);
sys\system\configuration\ClientSettingsStore.cs (2)
173SettingElement se = sec.Get((string) entry.Key); 177se.Name = (string) entry.Key;
sys\system\configuration\SettingsPropertyValueCollection.cs (1)
82al.Add(de.Key);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
1101return ((DictionaryEntry)keyValuePair).Key;
System.Configuration (6)
System\Configuration\ConfigurationElementCollection.cs (1)
1309return _current.Key;
System\Configuration\ConfigurationLockCollection.cs (2)
222removeList.Add(de.Key); 309sb.Append(de.Key);
System\Configuration\MgmtConfigurationRecord.cs (1)
1698string configKey = (string)de.Key;
System\Configuration\SectionUpdates.cs (2)
250string group = (string) de.Key; 273string group = (string) de.Key;
System.Data (8)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
1101return ((DictionaryEntry)keyValuePair).Key;
fx\src\data\System\Data\PropertyCollection.cs (1)
33clone.Add(pair.Key, pair.Value);
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (2)
311if ((string) entry.Key != KEY.Context_Connection && 312(string) entry.Key != KEY.Type_System_Version) {
fx\src\data\System\Data\SqlClient\SqlException.cs (1)
190exception.Data.Add(entry.Key, entry.Value);
fx\src\data\System\Data\xmlsaver.cs (3)
73if (entry.Key is INullable) { 74s = (String) SqlConvert.ChangeTypeForXML(entry.Key, typeof(string)); 78s = (String) Convert.ToString(entry.Key, CultureInfo.InvariantCulture);
System.Data.SqlXml (2)
System\Xml\Xsl\XsltOld\Compiler.cs (1)
821string ns = (string)entry.Key;
System\Xml\Xsl\XsltOld\Processor.cs (1)
335string namespaceUri = (string)entry.Key;
System.Drawing (2)
commonui\System\Drawing\Design\ToolboxItem.cs (2)
835propertyNames.Add(de.Key); 836info.AddValue((string)de.Key, de.Value);
System.Management (3)
Instrumentation\EventSource.cs (1)
845string instanceId = (string)entry.Key;
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 (1)
181copiedSinkTable.Add (entry.Key, entry.Value);
System.Runtime.Caching (1)
System\Caching\MemoryCacheStore.cs (1)
194MemoryCacheKey key = e.Key as MemoryCacheKey;
System.Runtime.Remoting (28)
channels\http\combinedhttpchannel.cs (3)
64switch ((String)entry.Key) 74clientData[entry.Key] = entry.Value; 75serverData[entry.Key] = entry.Value;
channels\http\httpclientchannel.cs (2)
91switch ((String)entry.Key) 671String key = header.Key as String;
channels\http\httpremotinghandler.cs (1)
656String key = (String)entry.Key;
channels\http\httpserverchannel.cs (1)
109switch ((String)entry.Key)
channels\http\httpsocketmanager.cs (1)
108String headerName = (String)header.Key;
channels\ipc\ipcchannel.cs (3)
67switch ((String)entry.Key) 80clientData[entry.Key] = entry.Value; 81serverData[entry.Key] = entry.Value;
channels\ipc\ipcclientchannel.cs (1)
67switch ((String)entry.Key)
channels\ipc\ipcserverchannel.cs (1)
99switch ((String)entry.Key)
channels\sinks\binaryformattersinks.cs (3)
58String keyStr = entry.Key.ToString(); 330String keyStr = entry.Key.ToString(); 691responseHeaders[entry.Key] = entry.Value;
channels\sinks\soapformattersinks.cs (3)
59String keyStr = entry.Key.ToString(); 382String keyStr = entry.Key.ToString(); 765responseHeaders[entry.Key] = entry.Value;
channels\tcp\combinedtcpchannel.cs (3)
60switch ((String)entry.Key) 73clientData[entry.Key] = entry.Value; 74serverData[entry.Key] = entry.Value;
channels\tcp\tcpclientchannel.cs (1)
71switch ((String)entry.Key)
channels\tcp\tcpserverchannel.cs (1)
101switch ((String)entry.Key)
channels\tcp\tcpsocketmanager.cs (1)
248String headerName = (String)header.Key;
metadata\sdlchannelsink.cs (2)
48switch ((String)entry.Key) 54this.GetType().Name, (String)entry.Key);
metadata\wsdlparser.cs (1)
7081Util.Log(" sections key "+d.Key+" value "+((WsdlPortTypeOperation)d.Value).name);
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.Web (104)
Cache\SqlCacheDependency.cs (1)
1153UpdateDatabaseNotifState((string)entry.Key);
Compilation\BaseResourcesBuildProvider.cs (2)
137writer.AddResource((string)de.Key, de.Value); 196resourceList.Add(de.Key, de.Value);
Compilation\BrowserCapabilitiesCompiler.cs (2)
312object key = entry.Key; 409object key = entry.Key;
Compilation\IImplicitResourceProvider.cs (1)
149ImplicitResourceKey implicitResKey = ParseFullKey((string) entry.Key);
Compilation\ProfileBuildProvider.cs (1)
152AddPropertyGroup(assemblyBuilder, (string) de.Key, (string) de.Value, properties, type, ns);
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
1429string controlString = (string)entry.Key;
Configuration\HealthMonitoringSectionHelper.cs (1)
590list.Add(de.Key);
Configuration\TransformerInfoCollection.cs (1)
126(string)entry.Key,
FileChangesMonitor.cs (4)
606string key = (string) e.Key; 1021key = (string) d.Key; 1661if (_aliases[entry.Key] == fileMon) { 1662_aliases.Remove(entry.Key);
Hosting\ApplicationManager.cs (1)
1219appDomain.SetData((String)e.Key, (String)e.Value);
Hosting\HostingEnvironment.cs (2)
521Object x = e.Key; 1566IStopListeningRegisteredObject listener = e.Key as IStopListeningRegisteredObject;
UI\AttributeCollection.cs (3)
131if (this[(string)attr.Key] != attrs[(string)attr.Key]) { 145hashCodeCombiner.AddObject(attr.Key);
UI\BaseTemplateParser.cs (1)
349newTable[entry.Key] = ((ArrayList)entry.Value).Clone();
UI\BatchParser.cs (1)
274string attribName = ((string)entry.Key).ToLower(CultureInfo.InvariantCulture);
UI\ClientScriptManager.cs (3)
1073string controlId = (string)controlEntry.Key; 1087writer.Write(expandoAttribute.Key); 1109string entryKey = (string)entry.Key;
UI\ControlBuilder.cs (2)
1573newAttribs.AddFilteredAttribute(String.Empty, entry.Key.ToString(), entry.Value.ToString()); 2938string name = attribute.Key.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)
1021objectStack.Push(entry.Key);
UI\OrderedDictionaryStateHelper.cs (1)
38list.Add(new Pair(entry.Key, entry.Value));
UI\ParsedAttributeCollection.cs (2)
38Debug.Assert(entry.Key != null); 39_allFiltersDictionary[Util.CreateFilteredName(fac.Filter, entry.Key.ToString())] = entry.Value;
UI\TemplateParser.cs (5)
1180string attribName = (string) entry.Key; 1760if (directive.Contains(entry.Key)) 1764directive[entry.Key] = entry.Value; 1850string attribName = (string)entry.Key; 1888string attribName = (string)attribute.Key;
UI\WebControls\Content.cs (1)
88string key = (string)entry.Key;
UI\WebControls\DataKey.cs (1)
87table.Add(entry.Key, entry.Value);
UI\WebControls\DetailsView.cs (10)
2227if (includeKeys || (Array.IndexOf(dataKeyNames, entry.Key) == -1)) { 2228fieldValues[entry.Key] = entry.Value; 2321e.Keys.Add(entry.Key, entry.Value); 2322if (e.Values.Contains(entry.Key)) { 2323e.Values.Remove(entry.Key); 2467keys.Add(entry.Key, entry.Value); 2468if (values.Contains(entry.Key)) { 2469values.Remove(entry.Key); 2638e.OldValues.Add(entry.Key, entry.Value); 2643e.Keys.Add(entry.Key, entry.Value);
UI\WebControls\FormView.cs (10)
1899if (!includeKeys && Array.IndexOf(dataKeyNames, entry.Key) != -1) { 1902fieldValues[entry.Key] = entry.Value; 1951e.Keys.Add(entry.Key, entry.Value); 1952if (e.Values.Contains(entry.Key)) { 1953e.Values.Remove(entry.Key); 2098keys.Add(entry.Key, entry.Value); 2099if (values.Contains(entry.Key)) { 2100values.Remove(entry.Key); 2268e.OldValues.Add(entry.Key, entry.Value); 2273e.Keys.Add(entry.Key, entry.Value);
UI\WebControls\GridView.cs (10)
2764if (includePrimaryKey || (Array.IndexOf(dataKeyNames, entry.Key) == -1)) { 2765fieldValues[entry.Key] = entry.Value; 2861e.Keys.Add(entry.Key, entry.Value); 2862if (e.Values.Contains(entry.Key)) { 2863e.Values.Remove(entry.Key); 3070keys.Add(entry.Key, entry.Value); 3071if (values.Contains(entry.Key)) { 3072values.Remove(entry.Key); 3202e.OldValues.Add(entry.Key, entry.Value); 3207e.Keys.Add(entry.Key, entry.Value);
UI\WebControls\ModelDataSourceView.cs (3)
1077Debug.Assert(entry.Key is string, "Some key value is not string"); 1078genericDictionary.Add((string)entry.Key, entry.Value); 1274string parameterName = (string)de.Key;
UI\WebControls\ObjectDataSource.cs (1)
835sb.Append(entry.Key.ToString());
UI\WebControls\ObjectDataSourceView.cs (7)
692string propName = (de.Key == null ? String.Empty : de.Key.ToString()); 999mergedParameters[de.Key] = de.Value; 1057queryRowCountParameters.Add(entry.Key, entry.Value); 1277if (updateParams.Contains(de.Key)) { 1278updateParams.Remove(de.Key); 1775string parameterName = (string)de.Key;
UI\WebControls\SqlDataSource.cs (1)
894sb.Append(entry.Key.ToString());
UI\WebControls\SqlDataSourceView.cs (3)
622caseInsensitiveExclusionList.Add(de.Key, de.Value); 629string rawParamName = (string)de.Key; 1201caseInsensitiveExclusionList.Add(de.Key, de.Value);
UI\WebControls\TemplateField.cs (2)
254dictionary[entry.Key] = null; 257dictionary[entry.Key] = value;
UI\WebParts\BlobPersonalizationState.cs (8)
248unusedProperties[entry.Key] = entry.Value; 403object name = entry.Key; 848string name = (string)entry.Key; 930customProperties[(string)entry.Key] = (PersonalizationEntry)entry.Value; 933customProperties[(string)entry.Key] = (PersonalizationEntry)entry.Value; 1053items.Add(new IndexedString((string)propertyEntry.Key)); 1065items.Add(new IndexedString((string)customPropertyEntry.Key)); 1152string name = (string)entry.Key;
UI\WebParts\ConnectionsZone.cs (2)
2167item.Value = (string)consumerEntry.Key; 2222item.Value = (string)providerEntry.Key;
UI\WebParts\PersonalizableAttribute.cs (1)
190string name = (string)entry.Key;
UI\WebParts\PersonalizationDictionary.cs (1)
117Remove((string)entry.Key);
UI\WebParts\WebPartManager.cs (1)
2236string name = (string)entry.Key;
Util\SmtpMail.cs (1)
393LateBoundAccessHelper.SetPropStatic(config, "Fields", (String)e.Key, e.Value);
System.Web.ApplicationServices (1)
Security\MembershipUserCollection.cs (1)
59al.Add(de.Key);
System.Web.DataVisualization (4)
Common\Utilities\XmlSerializer.cs (4)
1629if (entry.Key is int) 1631CommonCustomProperties propertyType = (CommonCustomProperties)((int)entry.Key); 2499if (entry.Key is int) 2501CommonCustomProperties propertyType = (CommonCustomProperties)((int)entry.Key);
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 (2)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
158string key = de.Key as string;
System\Data\WebControls\EntityDataSourceView.cs (1)
802string propertyName = (string)(de.Key);
System.Web.Extensions (25)
Script\Serialization\JavaScriptSerializer.cs (1)
320string key = entry.Key as string;
UI\ScriptManager.cs (2)
1187sb.Append(HttpUtility.UrlEncode((string)kvp.Key)); 1207state.Add((string)entry.Key, (string)entry.Value);
UI\ScriptResourceAttribute.cs (2)
85string key = (string)res.Key; 262string key = (string)res.Key;
UI\WebControls\DataSourceHelper.cs (5)
37values[(string)entry.Key] = entry.Value; 48destination[de.Key] = de.Value; 73string parameterName = (string)de.Key; 136string propName = (de.Key == null ? String.Empty : de.Key.ToString());
UI\WebControls\ListView.cs (12)
2040newValues[entry.Key] = null; 2043newValues[entry.Key] = value; 2048if (includePrimaryKey || (Array.IndexOf(DataKeyNamesInternal, entry.Key) == -1)) { 2049itemValues[entry.Key] = entry.Value; 2207e.Keys.Add(entry.Key, entry.Value); 2208if (e.Values.Contains(entry.Key)) { 2209e.Values.Remove(entry.Key); 2360keys.Add(entry.Key, entry.Value); 2361if (values.Contains(entry.Key)) { 2362values.Remove(entry.Key); 2535e.OldValues.Add(entry.Key, entry.Value); 2540e.Keys.Add(entry.Key, entry.Value);
UI\WebControls\QueryableDataSourceHelper.cs (1)
120string key = (string)de.Key;
UI\WebControls\QueryableDataSourceView.cs (2)
547string propertyName = (String)entry.Key; 573rowValues.Add((string)entry.Key, value[rowIndex]);
System.Web.Mobile (15)
UI\MobileControls\Adapters\HtmlFormAdapter.cs (1)
277writer.WriteAttribute((String)entry.Key, (String)entry.Value, true);
UI\MobileControls\Adapters\HtmlPageAdapter.cs (2)
239writer.WriteHiddenField(hiddenVariablePrefix + (String)entry.Key, 254writer.WriteUrlParameter(hiddenVariablePrefix + (String)entry.Key,
UI\MobileControls\Adapters\WmlFormAdapter.cs (1)
261writer.WriteAttribute((String)entry.Key, (String)entry.Value, true);
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (3)
785Control ctl = (Control)entry.Key; 815WritePostField(hiddenVariablePrefix + (String)entry.Key, (String)entry.Value); 963WriteAttribute("name", (String)entry.Key);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicFormAdapter.cs (1)
144writer.WriteHiddenField(hiddenVariablePrefix + (String)entry.Key,
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPageAdapter.cs (1)
437writer.WriteUrlParameter(hiddenVariablePrefix + (String)entry.Key,
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (2)
354(String) entry.Key 883_cacheBuffer.Add(entry.Key, entry.Value);
UI\MobileControls\Design\PropertyOverridesDialog.cs (2)
296(String) entry.Key 477_cacheBuffer.Add(entry.Key, entry.Value);
UI\MobileControls\Design\StyleSheetDesigner.cs (1)
468duplicateNamesList.Add((String)entry.Key);
UI\MobileControls\MobilePage.cs (1)
1196MobileControl ctl = FindControl((String)entry.Key) as MobileControl;
System.Web.Services (4)
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)
185string refType = (string)(entry.Key); 491string url = (string) entry.Key;
System.Windows.Forms (8)
winforms\Managed\System\WinForms\AxHost.cs (1)
5326string ctlName = GetNameForControl((Control)e.Key);
winforms\Managed\System\WinForms\BindingContext.cs (1)
414cleanupList.Add(de.Key);
winforms\Managed\System\WinForms\ComboBox.cs (1)
5843nulllist.Add(e.Key);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (2)
272disposeList.Add(de.Key); 426key = de.Key;
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
545SetError((Control) entry.Key, (string) entry.Value);
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (1)
752IArrangedElement element = (IArrangedElement) entry.Key;
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
1191return de.Key;
System.Windows.Forms.DataVisualization (4)
Common\Utilities\XmlSerializer.cs (4)
1629if (entry.Key is int) 1631CommonCustomProperties propertyType = (CommonCustomProperties)((int)entry.Key); 2499if (entry.Key is int) 2501CommonCustomProperties propertyType = (CommonCustomProperties)((int)entry.Key);
System.Workflow.Activities (4)
CorrelationValidator.cs (3)
566MemberInfo memberInfo = memberEntry.Key as MemberInfo; 589MemberInfo memberInfo = (MemberInfo)memberEntry.Key; 594Type paramType = FetchParameterType((MemberInfo)memberEntry.Key, paramPath);
Rules\Rule.cs (1)
172newError.UserData[de.Key] = de.Value;
System.Workflow.ComponentModel (27)
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (14)
402if (!this.typeLoadErrors.Contains(dictionaryEntry.Key)) 404this.typeLoadErrors[dictionaryEntry.Key] = e; 430if (!this.typeLoadErrors.Contains(dictionaryEntry.Key)) 432this.typeLoadErrors[dictionaryEntry.Key] = e; 522if (this.typeLoadErrors.Contains(dictionaryEntry.Key)) 523this.typeLoadErrors.Remove(dictionaryEntry.Key); 525this.typeLoadErrors[dictionaryEntry.Key] = e; 550if (this.typeLoadErrors.Contains(dictionaryEntry.Key)) 551this.typeLoadErrors.Remove(dictionaryEntry.Key); 553this.typeLoadErrors[dictionaryEntry.Key] = e; 583if (entry.Key is CodeCompileUnit) 585else if (entry.Key is String) 586typeLoadError = TypeSystemSR.GetString("Error_AssemblyRefNotLoaded", new object[] { entry.Key.ToString(), e.Message }); 592collection.Add(entry.Key, e);
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; 1289removedProperties.Add(entry.Key as string);
AuthoringOM\Design\CommandSet.cs (1)
408CompositeActivityDesigner compositeActivityDesigner = ActivityDesigner.GetDesigner(entry.Key as Activity) as CompositeActivityDesigner;
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
743CompositeActivityDesigner compositeActivityDesigner = ActivityDesigner.GetDesigner(entry.Key as Activity) as CompositeActivityDesigner;
AuthoringOM\Design\MessageFilters\WindowManager.cs (1)
267CompositeActivityDesigner compositeActivityDesigner = ActivityDesigner.GetDesigner(entry.Key as Activity) as CompositeActivityDesigner;
AuthoringOM\Design\TypeConverters.cs (1)
94convertedValue = conditionTypeEntry.Key;
AuthoringOM\Serializer\DictionaryMarkupSerializer.cs (2)
90key = entry.Key; 164return entry.Value.Key;
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (2)
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))) &&
System.Xml (11)
System\Xml\Schema\ContentValidator.cs (3)
189return ((XmlQualifiedName)de.Key).ToString(); 195return (string)de.Key + ":*"; 1990names.Add(entry.Key);
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)
46return (string)entry.Key;
System\Xml\Schema\XmlSchemaSet.cs (1)
871if (schemaUri.Equals(locationsTable[i].Key)) {
System\Xml\Serialization\Types.cs (1)
683return de.Key as Type;
System\Xml\Serialization\XmlSerializationReader.cs (1)
1450UnreferencedObject((string)target.Key, target.Value);
System\Xml\Serialization\XmlSerializationWriter.cs (1)
1265string prefix = (string)entry.Key;
WindowsBase (2)
Base\System\ComponentModel\PropertyChangedEventManager.cs (1)
565Debug.Assert((String)de.Key != AllListenersKey, "special key should not appear");
Base\System\Windows\NameScope.cs (1)
254array[arrayIndex++] = new KeyValuePair<string, object>((string)entry.Key, entry.Value);