Skip to content

Infer type from new {} and assign to current method type #24

@taori

Description

@taori
            allWoBezeichnungen.Select(d =>
            {
                return new
                {
                    bezeichnung = d,
                    skala = dbSkalaByPrimaryKeys[(d.WoId, d.WoBezeichnungId)]
                };
            }).ToDictionary(d => (d.bezeichnung.WoId, d.bezeichnung.WoBezeichnungId));

if the cursor is on ToDictionary it should return the Dictionary type, if it is on new it should return that type and so on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions