2 overrides of EventHandlerType
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingEventInfo.cs (1)
28
public override Type?
EventHandlerType
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Events\RoEvent.cs (1)
52
public sealed override Type
EventHandlerType
=> field ??= ComputeEventHandlerType();
32 references to EventHandlerType
Microsoft.CodeAnalysis.Test.Utilities (1)
Platform\Custom\MetadataSignatureHelper.cs (1)
659
AppendType(@event.
EventHandlerType
, sb);
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
1133
ev.type = GetCTypeFromType(eventInfo.
EventHandlerType
);
Microsoft.Maui.Controls (2)
Interactivity\EventTrigger.cs (1)
81
_handlerdelegate = ((EventHandler)OnEventTriggered).Method.CreateDelegate(_eventinfo.
EventHandlerType
, this);
PlatformBindingHelpers.cs (1)
167
handlerDelegate = ((EventHandler)OnPropertyChanged).Method.CreateDelegate(updateSourceEvent.
EventHandlerType
, this);
Microsoft.Maui.Controls.Xaml (3)
ApplyPropertiesVisitor.cs (3)
483
var n_params = eventInfo.
EventHandlerType
.GetMethod("Invoke").GetParameters().Length;
494
if (!parameters[i].ParameterType.IsAssignableFrom(eventInfo.
EventHandlerType
.GetMethod("Invoke").GetParameters()[i].ParameterType))
506
addMethod.Invoke(element, new[] { mi.CreateDelegate(eventInfo.
EventHandlerType
, mi.IsStatic ? null : rootElement) });
PresentationBuildTasks (5)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1882
eventHandlerType = ei.
EventHandlerType
;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlTypeMapper.cs (4)
1312
if (!IsAllowedEventDelegateType(ei.
EventHandlerType
))
1317
ThrowException(nameof(SR.ParserEventDelegateTypeNotAccessible), ei.
EventHandlerType
.FullName, $"{objectType.Name}.{localName}");
1471
if (!IsAllowedEventDelegateType(ei.
EventHandlerType
))
1476
ThrowException(nameof(SR.ParserEventDelegateTypeNotAccessible), ei.
EventHandlerType
.FullName, $"{owner.Name}.{localName}");
PresentationFramework (10)
MS\Internal\Data\StaticPropertyChangedEventManager.cs (4)
277
Delegate d = Delegate.CreateDelegate(spcEvent.
EventHandlerType
, this, OnStaticPropertyChangedMethodInfo);
287
Delegate d = Delegate.CreateDelegate(spcEvent.
EventHandlerType
, this, OnStaticPropertyChangedMethodInfo);
607
Delegate d = Delegate.CreateDelegate(eventInfo.
EventHandlerType
, this, OnStaticPropertyChangedMethodInfo);
618
Delegate d = Delegate.CreateDelegate(eventInfo.
EventHandlerType
, this, OnStaticPropertyChangedMethodInfo);
System\Windows\Markup\BamlRecordReader.cs (2)
2857
ei.
EventHandlerType
,
2862
ThrowException(nameof(SR.ParserCantCreateDelegate), ei.
EventHandlerType
.Name, attribValue);
System\Windows\Markup\XamlTypeMapper.cs (4)
1314
if (!ReflectionHelper.IsPublicType(ei.
EventHandlerType
))
1317
ThrowException(nameof(SR.ParserEventDelegateTypeNotAccessible), ei.
EventHandlerType
.FullName, $"{objectType.Name}.{localName}");
1473
if (!ReflectionHelper.IsPublicType(ei.
EventHandlerType
))
1476
ThrowException(nameof(SR.ParserEventDelegateTypeNotAccessible), ei.
EventHandlerType
.FullName, $"{owner.Name}.{localName}");
System.ComponentModel.TypeConverter (2)
System\ComponentModel\ReflectEventDescriptor.cs (2)
345
_type = defined.
EventHandlerType
;
349
_type = _realEvent.
EventHandlerType
;
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Reflection\EventInfo.cs (1)
37
Type? cl =
EventHandlerType
;
src\libraries\System.Private.CoreLib\src\System\Reflection\NullabilityInfoContext.cs (1)
248
return GetNullabilityInfo(eventInfo, eventInfo.
EventHandlerType
!, CreateParser(eventInfo.GetCustomAttributesData()));
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingEventInfo.cs (1)
30
get { return UnderlyingEvent.
EventHandlerType
; }
System.Reflection.DispatchProxy (2)
System\Reflection\DispatchProxyGenerator.cs (2)
400
Debug.Assert(ei.
EventHandlerType
!= null);
401
EventBuilder eb = _tb.DefineEvent(ei.Name, ei.Attributes, ei.
EventHandlerType
!);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\EventBindingService.cs (2)
148
if (evInfo is null || !evInfo.
EventHandlerType
!.IsGenericType)
153
Type[] args = evInfo.
EventHandlerType
.GetGenericArguments();
System.Xaml (1)
System\Xaml\XamlMember.cs (1)
1014
return ei.
EventHandlerType
;