1 override of IsDelegateType
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (1)
233public override bool IsDelegateType => OwningAggregate.IsDelegate();
12 references to IsDelegateType
Microsoft.CSharp (12)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (2)
584if (Name == SpecialNames.Invoke && callingObject.Type.IsDelegateType) 727if (payload is InvokeBinder && !callingObject.Type.IsDelegateType)
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (1)
1152_pGroup.OptionalObject.Type.IsDelegateType &&
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (1)
486TypeManager.SubstType(pSrcType, pAggType, pAggType.TypeArgsAll).IsDelegateType;
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (7)
694if (!info.ValidForDelegate() || !info.type1.IsDelegateType && !info.type2.IsDelegateType) 710bool t1tot2 = info.type2.IsDelegateType && canConvert(info.arg1, info.type2); 711bool t2tot1 = info.type1.IsDelegateType && canConvert(info.arg2, info.type1); 939if (canConvert(info.arg1, typeDel) && canConvert(info.arg2, typeDel) && !type1.IsDelegateType && !type2.IsDelegateType) 1972Debug.Assert(arg1.Type == arg2.Type && (arg1.Type.IsDelegateType || arg1.Type.IsPredefType(PredefinedType.PT_DELEGATE)));
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (1)
243return pDest.IsDelegateType && HasDelegateConversion(aggSource, aggDest);