19 instantiations of ConditionalWeakTable
mscorlib (4)
system\collections\hashtable.cs (1)
1691
ConditionalWeakTable<object, SerializationInfo> newTable = new
ConditionalWeakTable
<object, SerializationInfo>();
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (2)
225
new
ConditionalWeakTable
<object, Dictionary<MethodInfo, Dictionary<object, EventRegistrationTokenList>>>();
680
eventCacheEntry.registrationTable = new
ConditionalWeakTable
<object, EventRegistrationTokenListWithCount>();
system\threading\Tasks\TaskScheduler.cs (1)
324
Interlocked.CompareExchange(ref s_activeTaskSchedulers, new
ConditionalWeakTable
<TaskScheduler, object>(), null);
PresentationCore (3)
Core\CSharp\System\Windows\Diagnostics\XamlSourceInfoHelper.cs (1)
65
s_sourceInfoTable = new
ConditionalWeakTable
<object, XamlSourceInfo>();
Core\CSharp\System\Windows\Input\Command\CanExecuteChangedEventManager.cs (1)
320
ConditionalWeakTable<object, object> _cwt = new
ConditionalWeakTable
<object, object>();
Shared\MS\Utility\PerfService.cs (1)
33
private static SRCS.ConditionalWeakTable<object, object> perfElementIds = new SRCS.
ConditionalWeakTable
<object, object>();
PresentationFramework (4)
src\Framework\System\Windows\Controls\DataGridHelper.cs (1)
471
private static ConditionalWeakTable<DependencyObject, Dictionary<DependencyProperty, bool>> _propertyTransferEnabledMap = new
ConditionalWeakTable
<DependencyObject, Dictionary<DependencyProperty, bool>>();
src\Framework\System\Windows\Localization.cs (2)
167
private static ConditionalWeakTable<object, string> _commentsOnObjects = new
ConditionalWeakTable
<object, string>();
168
private static ConditionalWeakTable<object, string> _attributesOnObjects = new
ConditionalWeakTable
<object, string>();
src\Framework\System\Windows\StyleHelper.cs (1)
4772
deferredActions = new
ConditionalWeakTable
<DependencyObject, List<DeferredAction>>();
System (4)
compmod\system\collections\specialized\marshalinghelpers.cs (4)
209
new
ConditionalWeakTable
<INotifyCollectionChanged, EventRegistrationTokenTable<NotifyCollectionChangedEventHandler>>();
295
new
ConditionalWeakTable
<INotifyPropertyChanged, EventRegistrationTokenTable<PropertyChangedEventHandler>>();
333
new
ConditionalWeakTable
<EventHandler, EventHandler<object>>();
406
new
ConditionalWeakTable
<ICommand, EventRegistrationTokenTable<EventHandler>>();
System.Activities (1)
System\Activities\Tracking\RuntimeTrackingProfile.cs (1)
571
this.cache = new
ConditionalWeakTable
<Activity, HybridCollection<RuntimeTrackingProfile>>();
System.Core (1)
Microsoft\Scripting\Ast\Expression.cs (1)
80
new
ConditionalWeakTable
<Expression, ExtensionInfo>(),
System.Transactions (1)
System\Transactions\Transaction.cs (1)
1482
static readonly ConditionalWeakTable<ContextKey, ContextData> ContextDataTable = new
ConditionalWeakTable
<ContextKey, ContextData>();
WindowsBase (1)
Base\System\Windows\WeakEventManager.cs (1)
898
_cwt = new System.Runtime.CompilerServices.
ConditionalWeakTable
<object, object>();
33 references to ConditionalWeakTable
mscorlib (13)
system\collections\hashtable.cs (3)
1683
private static
ConditionalWeakTable
<object, SerializationInfo> s_SerializationInfoTable;
1685
internal static
ConditionalWeakTable
<object, SerializationInfo> SerializationInfoTable
1691
ConditionalWeakTable
<object, SerializationInfo> newTable = new ConditionalWeakTable<object, SerializationInfo>();
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (8)
224
ConditionalWeakTable
<object, Dictionary<MethodInfo, Dictionary<object, EventRegistrationTokenList>>> s_eventRegistrations =
509
internal
ConditionalWeakTable
<object, EventRegistrationTokenListWithCount> registrationTable;
586
ConditionalWeakTable
<object, EventRegistrationTokenListWithCount> registrationTokens = GetOrCreateEventRegistrationTokenTable(instanceKey, removeMethod, out tokenListCount);
638
private static
ConditionalWeakTable
<object, EventRegistrationTokenListWithCount> GetEventRegistrationTokenTableNoCreate(object instance, Action<EventRegistrationToken> removeMethod, out TokenListCount tokenListCount)
646
private static
ConditionalWeakTable
<object, EventRegistrationTokenListWithCount> GetOrCreateEventRegistrationTokenTable(object instance, Action<EventRegistrationToken> removeMethod, out TokenListCount tokenListCount)
655
private static
ConditionalWeakTable
<object, EventRegistrationTokenListWithCount> GetEventRegistrationTokenTableInternal(object instance, Action<EventRegistrationToken> removeMethod, out TokenListCount tokenListCount, bool createIfNotFound)
707
ConditionalWeakTable
<object, EventRegistrationTokenListWithCount> registrationTokens = GetEventRegistrationTokenTableNoCreate(instanceKey, removeMethod, out tokenListCount);
784
ConditionalWeakTable
<object, EventRegistrationTokenListWithCount> registrationTokens = GetEventRegistrationTokenTableNoCreate(instanceKey, removeMethod, out tokenListCount);
system\threading\Tasks\TaskScheduler.cs (2)
285
private static
ConditionalWeakTable
<TaskScheduler, object> s_activeTaskSchedulers;
321
ConditionalWeakTable
<TaskScheduler, object> activeTaskSchedulers = s_activeTaskSchedulers;
PresentationCore (5)
Core\CSharp\System\Windows\Diagnostics\XamlSourceInfoHelper.cs (1)
38
private static
ConditionalWeakTable
<object, XamlSourceInfo> s_sourceInfoTable; // no storage by default
Core\CSharp\System\Windows\Input\Command\CanExecuteChangedEventManager.cs (3)
255
void AddHandlerToCWT(Delegate handler,
ConditionalWeakTable
<object, object> cwt)
289
void RemoveHandlerFromCWT(Delegate handler,
ConditionalWeakTable
<object, object> cwt)
320
ConditionalWeakTable
<object, object> _cwt = new ConditionalWeakTable<object, object>();
Shared\MS\Utility\PerfService.cs (1)
33
private static SRCS.
ConditionalWeakTable
<object, object> perfElementIds = new SRCS.ConditionalWeakTable<object, object>();
PresentationFramework (5)
src\Framework\System\Windows\Controls\DataGridHelper.cs (1)
471
private static
ConditionalWeakTable
<DependencyObject, Dictionary<DependencyProperty, bool>> _propertyTransferEnabledMap = new ConditionalWeakTable<DependencyObject, Dictionary<DependencyProperty, bool>>();
src\Framework\System\Windows\FrameworkTemplate.cs (1)
1620
internal
ConditionalWeakTable
<DependencyObject,List<DeferredAction>> DeferredActions = null;
src\Framework\System\Windows\Localization.cs (2)
167
private static
ConditionalWeakTable
<object, string> _commentsOnObjects = new ConditionalWeakTable<object, string>();
168
private static
ConditionalWeakTable
<object, string> _attributesOnObjects = new ConditionalWeakTable<object, string>();
src\Framework\System\Windows\StyleHelper.cs (1)
4761
ConditionalWeakTable
<DependencyObject, List<DeferredAction>> deferredActions;
System (6)
compmod\system\collections\specialized\marshalinghelpers.cs (6)
208
private static
ConditionalWeakTable
<INotifyCollectionChanged, EventRegistrationTokenTable<NotifyCollectionChangedEventHandler>> m_weakTable =
294
private static
ConditionalWeakTable
<INotifyPropertyChanged, EventRegistrationTokenTable<PropertyChangedEventHandler>> m_weakTable =
332
private static
ConditionalWeakTable
<EventHandler, EventHandler<object>> m_weakTable =
405
private static
ConditionalWeakTable
<ICommand, EventRegistrationTokenTable<EventHandler>> m_weakTable =
468
ConditionalWeakTable
<EventHandler, EventHandler<object>> table,
470
ConditionalWeakTable
<EventHandler, EventHandler<object>>.CreateValueCallback callback)
System.Activities (1)
System\Activities\Tracking\RuntimeTrackingProfile.cs (1)
567
ConditionalWeakTable
<Activity, HybridCollection<RuntimeTrackingProfile>> cache;
System.Core (1)
Microsoft\Scripting\Ast\Expression.cs (1)
67
private static
ConditionalWeakTable
<Expression, ExtensionInfo> _legacyCtorSupportTable;
System.Transactions (1)
System\Transactions\Transaction.cs (1)
1482
static readonly
ConditionalWeakTable
<ContextKey, ContextData> ContextDataTable = new ConditionalWeakTable<ContextKey, ContextData>();
WindowsBase (1)
Base\System\Windows\WeakEventManager.cs (1)
897
private System.Runtime.CompilerServices.
ConditionalWeakTable
<object, object>