Skip to content

Fix type catalog #720

@andyleejordan

Description

@andyleejordan

Introduced in #719 at 78defa7, since the value for key System.Console is now mscorlib instead of System.Console in CorePsTypeCatalog.cs, tab completion of the assembly's types is broken.

$ [System.Console]::<tab>

Expect: TreatControlCAsInput etc.
Actual: just WriteLine

What's more, the types became inaccessible.

Expected:

$ [System.Console]::TreatControlCAsInput
False

Actual: nothing, nada, blank.

The CorePsTypeCatalog.cs relevant diff:

-            typeCatalog["System.Console"] = "System.Console, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
+            typeCatalog["System.Console"] = "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e";

/cc @daxian-dbw @Francisco-Gamino @mirichmo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIssue has been identified as a bug in the productUsability(LEGACY) Helps filter issues that might be higher priority because they directly affect usability

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions