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