39 references to IsDelegate
ilc (1)
RdXmlRootProvider.cs (1)
118if (marshalDelegateDegreeAttribute != null && type.IsDelegate)
ILCompiler.Compiler (22)
Compiler\Compilation.cs (1)
470if (owningType.IsDelegate && containingMethod.Name == "Invoke"u8)
Compiler\CompilerTypeSystemContext.Aot.cs (1)
213if (type.IsDelegate)
Compiler\Dataflow\HandleCallAction.cs (2)
340if (systemTypeValue.RepresentedType.Type.IsDelegate) 377if (staticType is null || !staticType.IsDelegate)
Compiler\Dataflow\ReflectionMethodBodyScanner.cs (1)
416else if (parameterType.IsDelegate || parameterType.IsWellKnownType(Internal.TypeSystem.WellKnownType.MulticastDelegate)
Compiler\DependencyAnalysis\DelegateMarshallingDataNode.cs (1)
25Debug.Assert(type.IsDelegate);
Compiler\DependencyAnalysis\MetadataEETypeNode.cs (1)
52if (_type.IsDelegate)
Compiler\DependencyAnalysis\ReflectedDelegateNode.cs (1)
23Debug.Assert(delegateType is null || delegateType.IsDelegate);
Compiler\MetadataManager.cs (1)
431if (owningType.IsDelegate)
Compiler\TypePreinit.cs (1)
609if (owningType.IsDelegate)
Compiler\UsageBasedInteropStubManager.cs (2)
40if (type.IsDelegate) 76if (type.IsDelegate)
Compiler\UsageBasedMetadataManager.cs (1)
300if (type.IsDelegate)
IL\ILImporter.Scanner.cs (3)
573allowAsyncVariant = allowAsyncVariant && !method.OwningType.IsDelegate; 646if (method.OwningType.IsDelegate && method.Name == "Invoke"u8 && 1053if (ctorMethod.OwningType.IsDelegate)
parent\parent\Common\TypeSystem\IL\DelegateInfo.cs (1)
108Debug.Assert(delegateType.IsDelegate);
parent\parent\Common\TypeSystem\IL\NativeAotILProvider.cs (1)
33if (owningType.IsDelegate)
parent\parent\Common\TypeSystem\IL\Stubs\DelegateMethodILEmitter.cs (1)
16Debug.Assert(method.OwningType.IsDelegate);
parent\parent\Common\TypeSystem\Interop\IL\MarshalHelpers.cs (1)
535else if (type.IsDelegate || InteropTypes.IsSystemDelegate(context, type) || InteropTypes.IsSystemMulticastDelegate(context, type))
parent\parent\Common\TypeSystem\Interop\IL\PInvokeDelegateWrapper.cs (1)
164Debug.Assert(delegateType.IsDelegate);
parent\parent\Common\TypeSystem\Interop\UnmanagedCallingConventions.cs (1)
144Debug.Assert(delegateType.IsDelegate);
ILCompiler.ReadyToRun (8)
Compiler\ProfileDataManager.cs (1)
205bool isDelegateInvoke = targetMeth.OwningType.IsDelegate && targetMeth.Name == "Invoke"u8;
JitInterface\CorInfoImpl.ReadyToRun.cs (2)
574if (methodNeedingCode.OwningType.IsDelegate && ( 2185(targetMethod.OwningType.IsDelegate && targetMethod.Name == "Invoke"u8) ||
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
1210if (method.OwningType.IsDelegate && method.Name == "Invoke"u8) 2130if (method.OwningType.IsDelegate) 2341if (type.IsDelegate)
parent\parent\Common\TypeSystem\Interop\IL\MarshalHelpers.cs (1)
535else if (type.IsDelegate || InteropTypes.IsSystemDelegate(context, type) || InteropTypes.IsSystemMulticastDelegate(context, type))
parent\parent\Common\TypeSystem\Interop\UnmanagedCallingConventions.cs (1)
144Debug.Assert(delegateType.IsDelegate);
ILCompiler.RyuJit (3)
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
1210if (method.OwningType.IsDelegate && method.Name == "Invoke"u8) 2130if (method.OwningType.IsDelegate) 2341if (type.IsDelegate)
ILCompiler.TypeSystem (5)
parent\parent\Common\TypeSystem\Common\CastingHelper.TypeEquivalence.cs (3)
172else if ((type1.IsDelegate == type2.IsDelegate) && type1.IsDelegate)
parent\parent\Common\TypeSystem\Common\TypeDesc.TypeEquivalence.cs (1)
87if (!(IsInterface && (IsComImport || IsComEventInterface)) && !IsValueType && !IsDelegate)
parent\parent\Common\TypeSystem\Ecma\MetadataExtensions.cs (1)
218if (!type.IsDelegate)