diff --git a/src/Orleans.CodeGenerator/Model/SerializableTypeDescription.cs b/src/Orleans.CodeGenerator/Model/SerializableTypeDescription.cs index d076d399b4..07b60bc5f7 100644 --- a/src/Orleans.CodeGenerator/Model/SerializableTypeDescription.cs +++ b/src/Orleans.CodeGenerator/Model/SerializableTypeDescription.cs @@ -173,7 +173,7 @@ public bool IsEmptyConstructable t = t.BaseType; } - foreach (var ctor in Type.Constructors.Where(x => x.IsImplicitlyDeclared)) + foreach (var ctor in Type.Constructors) { if (ctor.Parameters.Length != 0) {