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)
600if (Name == SpecialNames.Invoke && callingObject.Type.IsDelegateType) 749if (payload is InvokeBinder && !callingObject.Type.IsDelegateType)
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (1)
1153_pGroup.OptionalObject.Type.IsDelegateType &&
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (1)
487TypeManager.SubstType(pSrcType, pAggType, pAggType.TypeArgsAll).IsDelegateType;
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (7)
712if (!info.ValidForDelegate() || !info.type1.IsDelegateType && !info.type2.IsDelegateType) 728bool t1tot2 = info.type2.IsDelegateType && canConvert(info.arg1, info.type2); 729bool t2tot1 = info.type1.IsDelegateType && canConvert(info.arg2, info.type1); 962if (canConvert(info.arg1, typeDel) && canConvert(info.arg2, typeDel) && !type1.IsDelegateType && !type2.IsDelegateType) 2020Debug.Assert(arg1.Type == arg2.Type && (arg1.Type.IsDelegateType || arg1.Type.IsPredefType(PredefinedType.PT_DELEGATE)));
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (1)
252return pDest.IsDelegateType && HasDelegateConversion(aggSource, aggDest);