37 instantiations of KeyNotFoundException
mscorlib (9)
system\Collections\Concurrent\ConcurrentDictionary.cs (1)
975throw new KeyNotFoundException();
System\Diagnostics\Eventing\TraceLogging\EventPayload.cs (1)
51throw new System.Collections.Generic.KeyNotFoundException();
system\runtime\interopservices\windowsruntime\constantsplittablemap.cs (1)
141Exception e = new KeyNotFoundException(Environment.GetResourceString("Arg_KeyNotFound"));
system\runtime\interopservices\windowsruntime\dictionarytomapadapter.cs (2)
47Exception e = new KeyNotFoundException(Environment.GetResourceString("Arg_KeyNotFound")); 107Exception e = new KeyNotFoundException(Environment.GetResourceString("Arg_KeyNotFound"));
system\runtime\interopservices\windowsruntime\imapviewtoireadonlydictionaryadapter.cs (1)
125throw new KeyNotFoundException(Environment.GetResourceString("Arg_KeyNotFound"));
system\runtime\interopservices\windowsruntime\ireadonlydictionarytoimapviewadapter.cs (1)
47Exception e = new KeyNotFoundException(Environment.GetResourceString("Arg_KeyNotFound"));
system\runtime\interopservices\windowsruntime\maptodictionaryadapter.cs (1)
173throw new KeyNotFoundException(Environment.GetResourceString("Arg_KeyNotFound"));
system\throwhelper.cs (1)
68throw new System.Collections.Generic.KeyNotFoundException();
PresentationCore (1)
Core\CSharp\MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
773throw new KeyNotFoundException();
PresentationFramework (9)
src\Framework\MS\Internal\WeakDictionary.cs (1)
255throw new KeyNotFoundException();
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (1)
50throw new KeyNotFoundException();
src\Framework\System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (7)
137throw new KeyNotFoundException(); 196throw new KeyNotFoundException(); 234throw new KeyNotFoundException(); 280throw new KeyNotFoundException(); 298throw new KeyNotFoundException(); 316throw new KeyNotFoundException(); 336throw new KeyNotFoundException();
System (2)
compmod\system\collections\generic\throwhelper.cs (1)
59throw new System.Collections.Generic.KeyNotFoundException();
compmod\system\collections\specialized\stringdictionary.cs (1)
245if (!m_stringDictionary.ContainsKey(key)) throw new KeyNotFoundException();
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\GenericFlowSwitchHelper.cs (2)
464throw FxTrace.Exception.AsError(new KeyNotFoundException(caseName)); 502throw FxTrace.Exception.AsError(new KeyNotFoundException(caseName));
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
434throw FxTrace.Exception.AsError(new KeyNotFoundException(key.ToString()));
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (2)
77throw FxTrace.Exception.AsError(new KeyNotFoundException(null == oldKey.GetCurrentValue() ? "oldKey" : oldKey.GetCurrentValue().ToString())); 108throw FxTrace.Exception.AsError(new KeyNotFoundException(oldKey.ToString()));
System.Core (1)
Microsoft\Scripting\Utils\CacheDict.cs (1)
117throw new KeyNotFoundException();
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
434throw FxTrace.Exception.AsError(new KeyNotFoundException(key.ToString()));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (2)
77throw FxTrace.Exception.AsError(new KeyNotFoundException(null == oldKey.GetCurrentValue() ? "oldKey" : oldKey.GetCurrentValue().ToString())); 108throw FxTrace.Exception.AsError(new KeyNotFoundException(oldKey.ToString()));
System.Runtime.DurableInstancing (1)
System\Runtime\PersistencePipeline.cs (1)
285throw Fx.Exception.AsError(new KeyNotFoundException());
System.ServiceModel (1)
System\ServiceModel\SynchronizedKeyedCollection.cs (1)
80throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new KeyNotFoundException());
System.ServiceModel.Internals (1)
System\Runtime\Collections\NullableKeyDictionary.cs (1)
60throw Fx.Exception.AsError(new KeyNotFoundException());
System.Web.Services (4)
System\Web\Services\Configuration\ProtocolElementCollection.cs (1)
126throw new System.Collections.Generic.KeyNotFoundException(
System\Web\Services\Configuration\SoapExtensionTypeElementCollection.cs (1)
112throw new System.Collections.Generic.KeyNotFoundException(
System\Web\Services\Configuration\TypeElementCollection.cs (1)
113throw new System.Collections.Generic.KeyNotFoundException(
System\Web\Services\Configuration\WsiProfilesElementCollection.cs (1)
119throw new System.Collections.Generic.KeyNotFoundException(
15 references to KeyNotFoundException
mscorlib (1)
system\runtime\interopservices\windowsruntime\maptodictionaryadapter.cs (1)
152catch (KeyNotFoundException)
PresentationFramework (1)
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (1)
229catch (KeyNotFoundException)
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (2)
52/// <exception cref="KeyNotFoundException">if the given key is not in the dictionary.</exception> 64/// <exception cref="KeyNotFoundException">if the given key is not in the dictionary.</exception>
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
576catch (KeyNotFoundException ex)
System.Core (3)
System\Diagnostics\PerformanceData\CounterSetInstanceCounterDataSet.cs (3)
197catch (KeyNotFoundException) { 229catch (KeyNotFoundException) { 236catch (KeyNotFoundException) {
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (2)
52/// <exception cref="KeyNotFoundException">if the given key is not in the dictionary.</exception> 64/// <exception cref="KeyNotFoundException">if the given key is not in the dictionary.</exception>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
576catch (KeyNotFoundException ex)
System.ServiceModel (4)
System\ServiceModel\Configuration\ConfigurationHelpers.cs (4)
34catch (KeyNotFoundException) 66catch (KeyNotFoundException) 96catch (KeyNotFoundException) 128catch (KeyNotFoundException)