fix(codegen): Codegens books (#697)
This commit is contained in:
parent
488f1044fa
commit
f7e7fa424b
68 changed files with 452 additions and 1109 deletions
|
|
@ -102,6 +102,7 @@ namespace SerializationGenerator
|
|||
var genericCtor = symbol.Constructors.FirstOrDefault(
|
||||
m => !m.IsStatic &&
|
||||
m.MethodKind == MethodKind.Constructor &&
|
||||
m.Parameters.Length >= 1 &&
|
||||
m.Parameters.Length <= 2 &&
|
||||
SymbolEqualityComparer.Default.Equals(m.Parameters[0].Type, genericReaderInterface)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue