Skip to content

MetadataAsSource should show scoped modifiers #64906

@RikkiGibson

Description

@RikkiGibson

Definitely think that MetadataAsSource should show scoped modifiers. At a glance it seems like it doesn't. See MemoryMarshal.CreateSpan. (The point of this method is to be unsafe and claim it doesn't capture the parameter when it really does.)

        //
        // Summary:
        //     Creates a new span over a portion of a regular managed object.
        //
        // Parameters:
        //   reference:
        //     A reference to data.
        //
        //   length:
        //     The number of T elements that reference contains.
        //
        // Type parameters:
        //   T:
        //     The type of the data items.
        //
        // Returns:
        //     A span.
        public static Span<T> CreateSpan<T>(ref T reference, int length);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-IDEFeature - Ref Fieldshelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on it

    Type

    No type

    Projects

    Status

    Completed

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions