bool ImplementsInterface(TypeDefinition typeDefinition) { return typeDefinition.Interfaces.Any(x => x.Name == "IFreezable"); }