73 references to MulticastDelegate
mscorlib (50)
system\delegate.cs (2)
738
private extern static
MulticastDelegate
InternalAlloc(RuntimeType type);
743
internal extern static
MulticastDelegate
InternalAllocLike(Delegate d);
system\delegateserializationholder.cs (2)
36
if (c == null || (c != typeof(Delegate) && c != typeof(
MulticastDelegate
)))
287
return ((
MulticastDelegate
)invocationList[0]).NewMulticastDelegate(invocationList, invocationList.Length);
system\diagnostics\log.cs (4)
81
(LogMessageEventHandler)
MulticastDelegate
.Combine(_LogMessageEventHandler, handler);
89
(LogMessageEventHandler)
MulticastDelegate
.Remove(_LogMessageEventHandler, handler);
96
(LogSwitchLevelHandler)
MulticastDelegate
.Combine(_LogSwitchLevelHandler, handler);
103
(LogSwitchLevelHandler)
MulticastDelegate
.Remove(_LogSwitchLevelHandler, handler);
system\multicastdelegate.cs (32)
80
MulticastDelegate
d = (
MulticastDelegate
)invocationList[i];
109
MulticastDelegate
d = obj as
MulticastDelegate
;
177
private bool InvocationListEquals(
MulticastDelegate
d)
205
MulticastDelegate
d = (
MulticastDelegate
)o;
206
MulticastDelegate
dd = (
MulticastDelegate
)a[index];
219
private
MulticastDelegate
NewMulticastDelegate(Object[] invocationList, int invocationCount, bool thisIsMultiCastAlready)
222
MulticastDelegate
result = (
MulticastDelegate
)InternalAllocLike(this);
244
internal
MulticastDelegate
NewMulticastDelegate(Object[] invocationList, int invocationCount)
256
MulticastDelegate
d = (
MulticastDelegate
)_invocationList;
276
MulticastDelegate
dFollow = (
MulticastDelegate
)follow;
392
MulticastDelegate
v = value as
MulticastDelegate
;
487
public static bool operator ==(
MulticastDelegate
d1,
MulticastDelegate
d2)
495
public static bool operator !=(
MulticastDelegate
d1,
MulticastDelegate
d2)
572
MulticastDelegate
innerDelegate = _invocationList as
MulticastDelegate
;
650
MulticastDelegate
realDelegate = (
MulticastDelegate
)Delegate.InternalAllocLike(this);
663
MulticastDelegate
realDelegate = (
MulticastDelegate
)Delegate.InternalAllocLike(this);
676
MulticastDelegate
realDelegate = Delegate.InternalAllocLike(this);
689
MulticastDelegate
realDelegate = Delegate.InternalAllocLike(this);
711
MulticastDelegate
realDelegate = Delegate.InternalAllocLike(this);
system\reflection\emit\dynamicmethod.cs (4)
540
MulticastDelegate
d = (
MulticastDelegate
)Delegate.CreateDelegateNoSecurityCheck(delegateType, null, GetMethodDescriptor());
556
MulticastDelegate
d = (
MulticastDelegate
)Delegate.CreateDelegateNoSecurityCheck(delegateType, target, GetMethodDescriptor());
system\reflection\eventinfo.cs (2)
153
Contract.Assert(parameters[0].ParameterType.BaseType == typeof(
MulticastDelegate
));
192
Type mc = typeof(
MulticastDelegate
);
system\rttype.cs (1)
3969
return GetBaseType() == typeof(System.
MulticastDelegate
);
system\runtime\interopservices\marshal.cs (1)
2621
if (c == null || (c != typeof(Delegate) && c != typeof(
MulticastDelegate
)))
system\runtime\interopservices\windowsruntime\eventregistrationtokentable.cs (2)
93
invokeList =
MulticastDelegate
.Combine(invokeList, (Delegate)(object)handler);
245
invokeList =
MulticastDelegate
.Remove(invokeList, (Delegate)(object)handler);
PresentationCore (1)
Core\CSharp\System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (1)
214
MulticastDelegate
del
System (1)
compmod\system\componentmodel\ReflectEventDescriptor.cs (1)
161
return(typeof(
MulticastDelegate
)).IsAssignableFrom(EventType);
System.Core (17)
Microsoft\Scripting\Actions\CallSite.cs (2)
102
if (!delegateType.IsSubclassOf(typeof(
MulticastDelegate
))) throw Error.TypeMustBeDerivedFromSystemDelegate();
193
if (!typeof(T).IsSubclassOf(typeof(
MulticastDelegate
))) throw Error.TypeMustBeDerivedFromSystemDelegate();
Microsoft\Scripting\Actions\CallSiteBinder.cs (1)
69
if (!target.IsSubclassOf(typeof(
MulticastDelegate
))) {
Microsoft\Scripting\Ast\BinaryExpression.cs (4)
1339
Debug.Assert(typeof(System.
MulticastDelegate
).IsAssignableFrom(delegateType) && delegateType != typeof(System.
MulticastDelegate
));
1476
Debug.Assert(typeof(System.
MulticastDelegate
).IsAssignableFrom(delegateType) && delegateType != typeof(System.
MulticastDelegate
));
Microsoft\Scripting\Ast\DynamicExpression.cs (5)
706
if (!delegateType.IsSubclassOf(typeof(
MulticastDelegate
))) throw Error.TypeMustBeDerivedFromSystemDelegate();
732
if (!delegateType.IsSubclassOf(typeof(
MulticastDelegate
))) throw Error.TypeMustBeDerivedFromSystemDelegate();
761
if (!delegateType.IsSubclassOf(typeof(
MulticastDelegate
))) throw Error.TypeMustBeDerivedFromSystemDelegate();
793
if (!delegateType.IsSubclassOf(typeof(
MulticastDelegate
))) throw Error.TypeMustBeDerivedFromSystemDelegate();
828
if (!delegateType.IsSubclassOf(typeof(
MulticastDelegate
))) throw Error.TypeMustBeDerivedFromSystemDelegate();
Microsoft\Scripting\Ast\InvocationExpression.cs (1)
194
if (!expression.Type.IsSubclassOf(typeof(
MulticastDelegate
))) {
Microsoft\Scripting\Ast\LambdaExpression.cs (2)
524
if (!typeof(
MulticastDelegate
).IsAssignableFrom(delegateType) || delegateType == typeof(
MulticastDelegate
)) {
Microsoft\Scripting\Ast\TypeUtils.cs (1)
283
return t.IsSubclassOf(typeof(System.
MulticastDelegate
));
Microsoft\Scripting\Compiler\AssemblyGen.cs (1)
126
typeof(
MulticastDelegate
),
System.Data (1)
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
1867
static internal Delegate FindBuilder(
MulticastDelegate
mcd) { // V1.2.3300
System.Management (1)
managementoperationwatcher.cs (1)
422
internal void FireEventToDelegates (
MulticastDelegate
md, ManagementEventArgs args)
System.Runtime.Remoting (2)
metadata\wsdlwriter.cs (2)
1985
Util.Log("RealSchemaType.PrintMessageWsd suds realSchemaType 2 "+type.BaseType+" "+typeof(
MulticastDelegate
).IsAssignableFrom(type));;
2173
else if (typeof(Delegate).IsAssignableFrom(type) || typeof(
MulticastDelegate
).IsAssignableFrom(type))