Hi,
i'm testing FastCloner.SourceGenerator and the FastClonerContext implementation. But the IsHandled method can be wrong.
Source generator creates this code:
// <auto-generated/>
// Generated: 2026-03-23 12:49:59 UTC
#nullable enable
using System;
using System.Collections.Generic;
using System.Reflection;
using FastCloner;
namespace MyNameSpace
{
public partial class MyCloningContext
{
...
public override bool IsHandled(Type type)
{
return false;
}
}
}
The problem is i have Type as a enum in MyNameSpace:
public enum Type
{
A,
B,
C
}
I think it should be:
public override bool IsHandled(System.Type type)
{
return false;
}