77 references to Target
mscorlib (17)
system\appdomain.cs (2)
157
if(list[i].
Target
==null)
160
AppDomainInitializer nested = list[i].
Target
as AppDomainInitializer;
system\multicastdelegate.cs (2)
72
DelegateSerializationHolder.GetDelegateSerializationInfo(info, this.GetType(),
Target
, method, targetIndex);
90
DelegateSerializationHolder.DelegateEntry de = DelegateSerializationHolder.GetDelegateSerializationInfo(info, d.GetType(), d.
Target
, method, targetIndex++);
system\runtime\compilerservices\AsyncMethodBuilder.cs (2)
1133
object target = action.
Target
;
1156
var asWrapper = action.
Target
as ContinuationWrapper;
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (7)
52
object target = removeMethod.
Target
;
79
object target = removeMethod.
Target
;
97
object target = removeMethod.
Target
;
236
object instance = removeMethod.
Target
;
292
object instance = removeMethod.
Target
;
334
object instance = removeMethod.
Target
;
548
object target = removeMethod.
Target
;
system\runtime\remoting\lease.cs (1)
484
ISponsor sponsor = (ISponsor)ar.
Target
;
system\runtime\remoting\remotingproxy.cs (2)
498
RemotingServices.GetRealProxy(d.
Target
);
520
null : ar, d.
Target
);
system\threading\thread.cs (1)
346
ThreadHelper t = (ThreadHelper)(m_Delegate.
Target
);
PresentationCore (2)
Core\CSharp\System\Windows\Input\Command\CanExecuteChangedEventManager.cs (2)
258
object target = handler.
Target
;
292
object target = handler.
Target
;
PresentationFramework (5)
src\Framework\MS\Internal\AppModel\ReturnEventSaver.cs (2)
81
if (returnDelegate.
Target
== pf)
90
returnDelegate.
Target
.GetType().AssemblyQualifiedName,
src\Framework\MS\Internal\Data\ValueChangedEventManager.cs (1)
455
if (!HasIgnorableListeners && IsIgnorable(handler.
Target
))
src\Framework\MS\Internal\Data\ViewManager.cs (1)
384
object target = callback.
Target
;
src\Framework\System\Windows\Navigation\PageFunction.cs (1)
116
PageFunctionBase parent = d.
Target
as PageFunctionBase;
System (1)
net\System\Net\HttpWebRequest.cs (1)
5458
object baseObject = callback.
Target
;
System.Activities (2)
System\Activities\Runtime\CallbackWrapper.cs (1)
99
object target = callback.
Target
;
System\Activities\XamlIntegration\SerializableFuncDeferringLoader.cs (1)
45
return (func != null) ? func.
Target
as FuncFactory : null;
System.Activities.Presentation (10)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\ContextItemManager.cs (5)
197
ICallbackProxy proxy = callback.
Target
as ICallbackProxy;
203
return callback.
Target
;
225
ICallbackProxy toRemoveProxy = toRemove.
Target
as ICallbackProxy;
241
ICallbackProxy itemProxy = item.
Target
as ICallbackProxy;
323
return _genericCallback.
Target
;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\ServiceManager.cs (5)
217
ICallbackProxy proxy = callback.
Target
as ICallbackProxy;
223
return callback.
Target
;
239
ICallbackProxy toRemoveProxy = toRemove.
Target
as ICallbackProxy;
255
ICallbackProxy itemProxy = item.
Target
as ICallbackProxy;
416
return _genericCallback.
Target
;
System.Data (14)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\ContextItemManager.cs (5)
197
ICallbackProxy proxy = callback.
Target
as ICallbackProxy;
203
return callback.
Target
;
225
ICallbackProxy toRemoveProxy = toRemove.
Target
as ICallbackProxy;
241
ICallbackProxy itemProxy = item.
Target
as ICallbackProxy;
323
return _genericCallback.
Target
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\ServiceManager.cs (5)
217
ICallbackProxy proxy = callback.
Target
as ICallbackProxy;
223
return callback.
Target
;
239
ICallbackProxy toRemoveProxy = toRemove.
Target
as ICallbackProxy;
255
ICallbackProxy itemProxy = item.
Target
as ICallbackProxy;
416
return _genericCallback.
Target
;
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
1871
if (d[i].
Target
is DbCommandBuilder)
fx\src\data\System\Data\Odbc\OdbcDataAdapter.cs (1)
136
if ((null != handler) && (value.
Target
is OdbcCommandBuilder)) {
fx\src\data\System\Data\OleDb\OleDbDataAdapter.cs (1)
137
if ((null != handler) && (value.
Target
is DbCommandBuilder)) {
fx\src\data\System\Data\SqlClient\SqlDataAdapter.cs (1)
155
if ((null != handler) && (value.
Target
is DbCommandBuilder)) {
System.Data.Linq (1)
SqlClient\Query\QueryConverter.cs (1)
341
CompiledQuery cq = d.
Target
as CompiledQuery;
System.Management (7)
Instrumentation\EventSource.cs (2)
829
objs[count] = (IntPtr) funcs[count].
Target
.GetType().GetField("instWbemObjectAccessIP").GetValue(funcs[count].
Target
);
Instrumentation\Instrumentation.cs (5)
473
wbemObjects[0] = (IntPtr) fieldInfo.GetValue ( convertFunctionNoBatch.
Target
) ;
488
wbemObjects[currentIndex-1] = (IntPtr) fieldInfo.GetValue ( convertFunctionsBatch[currentIndex-1].
Target
) ;
556
fieldInfo = convertFunctionsBatch[0].
Target
.GetType().GetField ("instWbemObjectAccessIP");
562
fieldInfo = convertFunctionNoBatch.
Target
.GetType().GetField ("instWbemObjectAccessIP");
563
wbemObjects[0] = ExtractIntPtr(convertFunctionNoBatch.
Target
);
System.Web (14)
FileChangesMonitor.cs (12)
302
FileMonitorTarget target = (FileMonitorTarget)_targets[callback.
Target
];
311
_targets.Add(callback.
Target
, new FileMonitorTarget(callback, alias));
1325
"\n\tArgs: Action=" + nqi.Action + "; fileName=" + nqi.Filename + "; Target=" + nqi.Callback.
Target
+ "(HC=" + nqi.Callback.
Target
.GetHashCode().ToString("x", NumberFormatInfo.InvariantInfo) + ")");
1671
Debug.Trace("FileChangesMonitor", "StartMonitoringFile\n" + "\tArgs: File=" + alias + "; Callback=" + callback.
Target
+ "(HC=" + callback.
Target
.GetHashCode().ToString("x", NumberFormatInfo.InvariantInfo) + ")");
1764
Debug.Trace("FileChangesMonitor", "StartMonitoringPath\n" + "\tArgs: File=" + alias + "; Callback=" + callback.
Target
+ "(HC=" + callback.
Target
.GetHashCode().ToString("x", NumberFormatInfo.InvariantInfo) + ")");
1897
Debug.Trace("FileChangesMonitor", "StartMonitoringDirectoryRenamesAndBinDirectory\n" + "\tArgs: File=" + dir + "; Callback=" + callback.
Target
+ "(HC=" + callback.
Target
.GetHashCode().ToString("x", NumberFormatInfo.InvariantInfo) + ")");
2052
Debug.Trace("FileChangesMonitor", "Firing subdir change event\n" + "\tArgs: Action=" + e.Action + "; fileName=" + e.FileName + "; Target=" + handler.
Target
+ "(HC=" + handler.
Target
.GetHashCode().ToString("x", NumberFormatInfo.InvariantInfo) + ")");
HttpResponse.cs (2)
2666
if (callback.
Target
!= null && callback.
Target
is Control) {
System.Workflow.ComponentModel (2)
AuthoringOM\ActivityExecutorDelegateInfo.cs (1)
46
Activity target = delegateValue.
Target
as Activity;
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (1)
827
if (handler != null && activity != null && TypeProvider.Equals(handler.
Target
.GetType(), Helpers.GetRootActivity(activity).GetType()))
WindowsBase (2)
Base\System\Windows\WeakEventManager.cs (2)
634
object target = handler.
Target
;
682
object target = handler.
Target
;