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