internal ExplicitInterfaceEventWithMonoCecil(ITypeWithMonoCecil declaringType, EventDefinition @event) { this.@event = new EventPropertyWithMonoCecil(declaringType, @event); name = @event.Name.Split('.').Last(); TypeReference interfaceType = @event.AddMethod.FindExplicitInterface(); explicitInterface = new InterfaceReferenceWithMonoCecil(declaringType.Assembly, interfaceType); }
internal StaticClassEventPropertyWithMonoCecil(ITypeWithMonoCecil declaringType, EventDefinition @event) { this.@event = new EventPropertyWithMonoCecil(declaringType, @event); }
internal SealedClassEventPropertyWithMonoCecil(IInternalTypeWithMonoCecil declaringType, EventDefinition @event) { this.@event = new EventPropertyWithMonoCecil(declaringType, @event); this.declaringType = declaringType; }