Skip to content

System.Runtime.InteropServices.Javascript does not generate intellisense? #75633

@carlossanlop

Description

@carlossanlop

I built my runtime local repo using build.cmd clr+libs -c release, but I was unable to find an xml under artifacts\bin containing the intellisense documentation for System.Runtime.InteropServices.Javascript.

I might be building with the wrong command. Any ideas?

Well, ok... I did find files mentioning this namespace, but they are basically empty. This is what they contain:

artifacts\bin\runtime\net7.0-windows-Release-x64\System.Runtime.InteropServices.JavaScript.xml
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>System.Runtime.InteropServices.JavaScript</name>
    </assembly>
    <members>
        <member name="P:System.SR.ArgumentCannotBeNull">
            <summary>Invalid argument: {0} can not be null.</summary>
        </member>
        <member name="P:System.SR.ArgumentCannotBeNullWithLength">
            <summary>Invalid argument: {0} can not be null and must have a length</summary>
        </member>
        <member name="P:System.SR.SystemRuntimeInteropServicesJavaScript_PlatformNotSupported">
            <summary>System.Runtime.InteropServices.JavaScript is not supported on this platform.</summary>
        </member>
        <member name="P:System.SR.TypedArrayNotCorrectType">
            <summary>TypedArray is not of correct type.</summary>
        </member>
        <member name="P:System.SR.UnableCastNullToType">
            <summary>Unable to cast null to type {0}.</summary>
        </member>
        <member name="P:System.SR.UnableCastObjectToType">
            <summary>Unable to cast object of type {0} to type {1}.</summary>
        </member>
    </members>
</doc>
artifacts\bin\testhost\net7.0-windows-Release-x64\shared\Microsoft.NETCore.App\7.0.0\System.Runtime.InteropServices.JavaScript.xml
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>System.Runtime.InteropServices.JavaScript</name>
    </assembly>
    <members>
        <member name="P:System.SR.ArgumentCannotBeNull">
            <summary>Invalid argument: {0} can not be null.</summary>
        </member>
        <member name="P:System.SR.ArgumentCannotBeNullWithLength">
            <summary>Invalid argument: {0} can not be null and must have a length</summary>
        </member>
        <member name="P:System.SR.SystemRuntimeInteropServicesJavaScript_PlatformNotSupported">
            <summary>System.Runtime.InteropServices.JavaScript is not supported on this platform.</summary>
        </member>
        <member name="P:System.SR.TypedArrayNotCorrectType">
            <summary>TypedArray is not of correct type.</summary>
        </member>
        <member name="P:System.SR.UnableCastNullToType">
            <summary>Unable to cast null to type {0}.</summary>
        </member>
        <member name="P:System.SR.UnableCastObjectToType">
            <summary>Unable to cast object of type {0} to type {1}.</summary>
        </member>
    </members>
</doc>
artifacts\bin\microsoft.netcore.app.ref\data\FrameworkList.xml

This file is huge, but the only mention of "Javascript" is the single line 102:

  <File Type="Managed" Path="ref/net7.0/System.Runtime.InteropServices.JavaScript.dll" AssemblyName="System.Runtime.InteropServices.JavaScript" PublicKeyToken="b03f5f7f11d50a3a" AssemblyVersion="7.0.0.0" FileVersion="42.42.42.42424" />

The reason I ask is because these APIs are all showing up as undocumented. The api-docs-sync docs porting tool is unable to find its docs under artifacts/bin.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions