Home
last modified time | relevance | path

Searched refs:DelegateType (Results 1 – 25 of 138) sorted by relevance

123456

/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.CodeDom/
H A DCodeDelegateCreateExpressionTest.cs45 Assert.IsNotNull (cdce.DelegateType, "#1"); in Constructor0()
46 Assert.AreEqual (typeof (void).FullName, cdce.DelegateType.BaseType, "#2"); in Constructor0()
52 cdce.DelegateType = type; in Constructor0()
53 Assert.IsNotNull (cdce.DelegateType, "#6"); in Constructor0()
54 Assert.AreSame (type, cdce.DelegateType, "#7"); in Constructor0()
56 cdce.DelegateType = null; in Constructor0()
57 Assert.IsNotNull (cdce.DelegateType, "#8"); in Constructor0()
58 Assert.AreEqual (typeof (void).FullName, cdce.DelegateType.BaseType, "#9"); in Constructor0()
83 Assert.IsNotNull (cdce.DelegateType, "#1"); in Constructor1()
84 Assert.AreSame (type, cdce.DelegateType, "#2"); in Constructor1()
[all …]
H A DCodeDelegateCreateExpressionCas.cs56 Assert.AreEqual ("System.Void", cdce.DelegateType.BaseType, "DelegateType"); in Constructor0_Deny_Unrestricted()
57 cdce.DelegateType = new CodeTypeReference ("System.Int32"); in Constructor0_Deny_Unrestricted()
72 Assert.AreSame (delegate_type, cdce.DelegateType, "DelegateType"); in Constructor1_Deny_Unrestricted()
73 cdce.DelegateType = new CodeTypeReference ("System.Void"); in Constructor1_Deny_Unrestricted()
/dports/lang/mono-basic/mono-basic-4.7/vbnc/vbnc/source/Expressions/Classifications/
H A DMethodPointerClassification.vb85 …Function Resolve(ByVal DelegateType As Mono.Cecil.TypeReference, ByVal ShowErrors As Boolean) As B…
88 Helper.Assert(DelegateType IsNot Nothing)
90 If Helper.CompareType(DelegateType, Compiler.TypeCache.DelegateUnresolvedType) Then
91 m_DelegateType = DelegateType
95 If Helper.IsDelegate(Compiler, DelegateType) = False Then
97 … Compiler.Report.ShowMessage(Messages.VBNC30581, Me.Parent.Location, DelegateType.FullName)
102 …ns.Generic.Collection(Of ParameterDefinition) = Helper.GetDelegateArguments(Compiler, DelegateType)
106 m_DelegateType = DelegateType
111 …tion, Helper.ToString(Me.Parent, m_MethodGroup.Group(i)), Helper.ToString(Me.Parent, DelegateType))
129 ReadOnly Property DelegateType() As Mono.Cecil.TypeReference
/dports/lang/mono/mono-5.10.1.57/external/corert/src/Common/src/TypeSystem/Interop/
H A DInteropStateManager.cs319 public readonly MetadataType DelegateType; field
324 DelegateType = type; in DelegateMarshallingStubHashtableKey()
332 return key.DelegateType.GetHashCode() ^ (int)key.Kind; in GetKeyHashCode()
342 return Object.ReferenceEquals(key.DelegateType, value.DelegateType) && in CompareKeyToValue()
348 return Object.ReferenceEquals(value1.DelegateType, value2.DelegateType) && in CompareValueToValue()
377 return value.DelegateType.GetHashCode(); in GetValueHashCode()
382 return Object.ReferenceEquals(key, value.DelegateType); in CompareKeyToValue()
387 return Object.ReferenceEquals(value1.DelegateType, value2.DelegateType); in CompareValueToValue()
414 return value.DelegateType.GetHashCode(); in GetValueHashCode()
419 return Object.ReferenceEquals(key, value.DelegateType); in CompareKeyToValue()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Core/Microsoft/Scripting/Compiler/
H A DDelegateHelpers.Generated.cs45 public Type DelegateType; field in Microsoft.Scripting.Ast.Compiler.System.Linq.Expressions.Compiler.DelegateHelpers.TypeInfo
62 return DelegateType = MakeNewDelegate(paramTypes); in MakeDelegateType()
82 if (curTypeInfo.DelegateType == null) { in MakeDelegateType()
84 curTypeInfo.DelegateType = MakeNewDelegate((Type[])types.Clone()); in MakeDelegateType()
87 return curTypeInfo.DelegateType; in MakeDelegateType()
113 if (curTypeInfo.DelegateType == null) { in MakeCallSiteDelegate()
117 return curTypeInfo.DelegateType; in MakeCallSiteDelegate()
148 if (curTypeInfo.DelegateType == null) { in MakeDeferredSiteDelegate()
163 curTypeInfo.DelegateType = MakeNewDelegate(paramTypes); in MakeDeferredSiteDelegate()
166 return curTypeInfo.DelegateType; in MakeDeferredSiteDelegate()
/dports/lang/mono/mono-5.10.1.57/external/corert/src/Common/src/TypeSystem/IL/Stubs/
H A DForwardDelegateCreationThunk.cs55 public MetadataType DelegateType property in Internal.IL.Stubs.ForwardDelegateCreationThunk
70 DelegateType,
83 return "ForwardDelegateCreationStub__" + DelegateType.Name;
110 _interopStateManager.GetPInvokeDelegateWrapper(DelegateType) in EmitIL()
116 _interopStateManager.GetPInvokeDelegateWrapper(DelegateType) in EmitIL()
H A DForwardDelegateCreationThunk.Sorting.cs18 return comparer.Compare(DelegateType, otherMethod.DelegateType); in CompareToImpl()
/dports/lang/mono/mono-5.10.1.57/external/corert/src/Common/src/TypeSystem/Interop/IL/
H A DPInvokeDelegateWrapper.cs21 public MetadataType DelegateType property in Internal.TypeSystem.Interop.PInvokeDelegateWrapper
35 return "PInvokeDelegateWrapper__" + DelegateType.Name;
123 return DelegateType.Context;
134 DelegateType = delegateType; in PInvokeDelegateWrapper()
218 new DelegateMarshallingMethodThunk(DelegateType, this, _interopStateManager, in InitializeMethods()
H A DPInvokeDelegateWrapper.Sorting.cs14 return comparer.Compare(DelegateType, ((PInvokeDelegateWrapper)other).DelegateType); in CompareToImpl()
H A DPInvokeDelegateWrapperConstructor.Sorting.cs16 return comparer.Compare(owningType.DelegateType, otherOwningType.DelegateType); in CompareToImpl()
/dports/lang/mono-basic/mono-basic-4.7/vbnc/vbnc/tests/RunTime/
H A DCType_Array3.vb4 Dim tovalue As DelegateType()
5 tovalue = CType(fromvalue, DelegateType())
7 Delegate Sub DelegateType()
H A DCType6.vb4 Dim tovalue As DelegateType
5 tovalue = CType(fromvalue, DelegateType)
7 Delegate Sub DelegateType()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/tests/CodeExpressions/
H A DCodeDelegateCreateExpressionTests.cs16 Assert.Equal(typeof(void).FullName, delegateCreate.DelegateType.BaseType); in Ctor_Default()
34 …Assert.Equal((delegateType ?? new CodeTypeReference("")).BaseType, delegateCreate.DelegateType.Bas… in Ctor()
44 delegateCreate.DelegateType = value; in DelegateType_Set_Get_ReturnsExpected()
45 … Assert.Equal((value ?? new CodeTypeReference("")).BaseType, delegateCreate.DelegateType.BaseType); in DelegateType_Set_Get_ReturnsExpected()
/dports/lang/vala/vala-0.48.18/codegen/
H A Dvalaccodedelegatemodule.vala41 if (creturn_type is DelegateType && ((DelegateType) creturn_type).delegate_symbol == d) {
72 var deleg_type = (DelegateType) d.return_type;
160 if (target_type is DelegateType && expression_type is MethodType) {
161 var dt = (DelegateType) target_type;
238 } else if (d.return_type is DelegateType) {
240 var deleg_type = (DelegateType) d.return_type;
339 var deleg_type = (DelegateType) param.variable_type;
365 var deleg_type = (DelegateType) m.return_type;
457 …if (param_type is DelegateType && ((DelegateType) param_type).delegate_symbol == param.parent_symb…
481 if (param_type is DelegateType) {
[all …]
H A Dvalagsignalmodule.vala80 } else if (t is DelegateType) {
216 } else if (p.variable_type is DelegateType) {
217 unowned DelegateType delegate_type = (DelegateType) p.variable_type;
297 } else if (p.variable_type is DelegateType) {
298 unowned DelegateType delegate_type = (DelegateType) p.variable_type;
425 } else if (param.variable_type is DelegateType) {
426 unowned DelegateType delegate_type = (DelegateType) param.variable_type;
453 } else if (param.variable_type is DelegateType) {
454 unowned DelegateType delegate_type = (DelegateType) param.variable_type;
601 DelegateType? dt = null;
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/
H A DDelegateHelpers.cs41 if (curTypeInfo.DelegateType == null) in MakeCallSiteDelegate()
46 return curTypeInfo.DelegateType; in MakeCallSiteDelegate()
81 if (curTypeInfo.DelegateType == null) in MakeDeferredSiteDelegate()
99 curTypeInfo.DelegateType = MakeNewDelegate(paramTypes); in MakeDeferredSiteDelegate()
102 return curTypeInfo.DelegateType; in MakeDeferredSiteDelegate()
H A DDelegateHelpers.Generated.cs31 if (curTypeInfo.DelegateType == null) in MakeDelegateType()
34 curTypeInfo.DelegateType = MakeNewDelegate((Type[])types.Clone()); in MakeDelegateType()
37 return curTypeInfo.DelegateType; in MakeDelegateType()
63 public Type DelegateType; field in System.Linq.Expressions.Compiler.DelegateHelpers.TypeInfo
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/task/thread_pool/
H A Dpooled_single_thread_task_runner_manager.h101 template <typename DelegateType>
106 template <typename DelegateType>
112 template <typename DelegateType>
118 template <typename DelegateType>
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/task/thread_pool/
H A Dpooled_single_thread_task_runner_manager.h104 template <typename DelegateType>
109 template <typename DelegateType>
115 template <typename DelegateType>
121 template <typename DelegateType>
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/sharing/
H A Dsharing_message_sender.h56 enum class DelegateType { enum
71 DelegateType delegate_type,
80 void RegisterSendDelegate(DelegateType type,
132 std::map<DelegateType, std::unique_ptr<SendMessageDelegate>> send_delegates_;
H A Dsharing_message_sender_unittest.cc112 SharingMessageSender::DelegateType::kFCM, in SharingMessageSenderTest()
190 SharingMessageSender::DelegateType::kFCM, mock_callback.Get()); in TEST_F()
224 SharingMessageSender::DelegateType::kFCM, mock_callback.Get()); in TEST_F()
288 SharingMessageSender::DelegateType::kFCM, mock_callback.Get()); in TEST_F()
331 SharingMessageSender::DelegateType::kFCM, mock_callback.Get()); in TEST_F()
348 SharingMessageSender::DelegateType::kFCM, mock_callback.Get()); in TEST_F()
/dports/lang/mono-basic/mono-basic-4.7/vbnc/vbnc/source/Expressions/
H A DAddressOfExpression.vb90 …Function Resolve(ByVal DelegateType As Mono.Cecil.TypeReference, ByVal ShowErrors As Boolean) As B…
93 …result = Classification.AsMethodPointerClassification.Resolve(DelegateType, ShowErrors) AndAlso re…
94 m_ExpressionType = DelegateType
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Core/Microsoft/Scripting/Ast/
H A DDynamicExpression.cs120 public Type DelegateType { property in Microsoft.Scripting.Ast.DynamicExpression
165 return Expression.MakeDynamic(DelegateType, Binder, arguments); in Update()
425 return CallSite.Create(this.DelegateType, this.Binder); in IDynamicExpression.CreateCallSite()
456 return Expression.MakeDynamic(DelegateType, Binder, args); in Rewrite()
502 return Expression.MakeDynamic(DelegateType, Binder, args[0]); in Rewrite()
550 return Expression.MakeDynamic(DelegateType, Binder, args[0], args[1]); in Rewrite()
600 return Expression.MakeDynamic(DelegateType, Binder, args[0], args[1], args[2]); in Rewrite()
901 Type delegateType = info.DelegateType; in Dynamic()
942 Type delegateType = info.DelegateType; in Dynamic()
988 Type delegateType = info.DelegateType; in Dynamic()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/
H A DDynamicExpression.cs26 DelegateType = delegateType; in DynamicExpression()
41 var site = Expression.Constant(CallSite.Create(DelegateType, Binder)); in Reduce()
131 public Type DelegateType { get; } property in System.Linq.Expressions.DynamicExpression
199 return ExpressionExtension.MakeDynamic(DelegateType, Binder, arguments); in Update()
478 return CallSite.Create(this.DelegateType, this.Binder); in IDynamicExpression.CreateCallSite()
510 return ExpressionExtension.MakeDynamic(DelegateType, Binder, args); in Rewrite()
570 return ExpressionExtension.MakeDynamic(DelegateType, Binder, args[0]); in Rewrite()
642 return ExpressionExtension.MakeDynamic(DelegateType, Binder, args[0], args[1]); in Rewrite()
720 return ExpressionExtension.MakeDynamic(DelegateType, Binder, args[0], args[1], args[2]); in Rewrite()
1073 Type delegateType = info.DelegateType ?? info.MakeDelegateType(returnType, arg0); in Dynamic()
[all …]
/dports/lang/vala/vala-0.48.18/vala/
H A Dvaladelegatetype.vala28 public class Vala.DelegateType : CallableType {
40 public DelegateType (Delegate delegate_symbol) {
71 var result = new DelegateType (delegate_symbol);
111 unowned DelegateType? dt_target = target_type as DelegateType;

123456