Skip to content

Many constants are missing values #88

Description

@kennykerr

For example, here's how JS_SOURCE_CONTEXT_NONE is defined in the original header:

const JsSourceContext JS_SOURCE_CONTEXT_NONE = (JsSourceContext)-1;

But here's what shows up in metadata:

public const UIntPtr JS_SOURCE_CONTEXT_NONE = default(UIntPtr);

Many dozens of other such examples. Perhaps an assert that verifies each constant has a literal value would help to avoid regressions.

Another example:

static const WCHAR g_wszWMUse_DRM[] = L"Use_DRM";

Becomes:

public const string g_wszWMUse_DRM = null;

Metadata

Metadata

Assignees

No one assigned

    Labels

    broken apiAn API is inaccurate and could lead to runtime failure

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions