diff --git a/Tapeti/TapetiConfig.cs b/Tapeti/TapetiConfig.cs index 2832a8c..75ed930 100644 --- a/Tapeti/TapetiConfig.cs +++ b/Tapeti/TapetiConfig.cs @@ -144,7 +144,7 @@ namespace Tapeti (dependencyResolver as IDependencyContainer)?.RegisterController(controller); foreach (var method in controller.GetMembers(BindingFlags.Public | BindingFlags.Instance) - .Where(m => m.MemberType == MemberTypes.Method && m.DeclaringType != typeof(object)) + .Where(m => m.MemberType == MemberTypes.Method && m.DeclaringType != typeof(object) && !(m as MethodInfo).IsSpecialName) .Select(m => (MethodInfo)m)) { var context = new BindingContext(method); diff --git a/Test/MarcoController.cs b/Test/MarcoController.cs index c1833f8..1bf8ae3 100644 --- a/Test/MarcoController.cs +++ b/Test/MarcoController.cs @@ -17,7 +17,7 @@ namespace Test private readonly Visualizer visualizer; // Public properties are automatically stored and retrieved while in a flow - public Guid StateTestGuid; + public Guid StateTestGuid { get; set; } public MarcoController(IPublisher publisher, IFlowProvider flowProvider, Visualizer visualizer)