Skip to content

Search EricksonLopez.* Ecosystem

Type a library name, NuGet package ID, .NET type, or architectural concept to search across the portal.

Troubleshooting — EricksonLopez.Mapper

Diagnostics emitted by EricksonLopez.Mapper.Generator and EricksonLopez.Mapper.Analyzers (2.0.0 NuGet).

  • ELM001–ELM007: Unmapped destination properties (StrictMapping = true) and structural member incompatibilities. Add [MapProperty] or [MapIgnore].
  • ELM008 / ELM009 (Analyzers): Disallowed runtime reflection or dynamic usage in mapper types.
  • ELM010: Cycle detected in [MapDerivedType] inheritance graph (v2.0.0).
  • ELM012 (Analyzers): [Mapper] class or interface is missing the partial modifier.
  • ELM013–ELM016: Member signature, nullability, and converter resolution issues.
  • ELM017 (v2.0.0): Unresolved [MapFactory] method name or incompatible factory signature.
  • ELM018 (v2.0.0): Duplicate [MapProperty] mapping targeting the same destination member.

Version Note: ELM025 (decimal-to-float/double precision loss warning) exists in unreleased local 3.0.0 HEAD, not published 2.0.0.

Even though [Mapper] and IConverter<,> ship in EricksonLopez.Mapper.Abstractions, they declare namespace EricksonLopez.Mapper;. Import using EricksonLopez.Mapper;.