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