This method is not safe?
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- csharp
- Domain
- documentation
Research direction
Start with xml/System.IO/UnmanagedMemoryAccessor.xml and compare the ReadArray documentation with the linked API page. Review the wording around safety, the starting position or offset, and the return value at the end of the accessor; done means the documentation is corrected and the behavior is clear.
Written by the indexing model from the issue text.
Description
Type of issue
Typo
Description
It says "This method is not safe." Yikes, what does that mean exactly? I assume it's a typo -- I assume it means to say "not thread-safe" -- but that's also a weird thing to say about a method that's copying memory.. obviously no mem-copy operation is thread-safe, if there are other threads modifying that memory.
There are other errors here.. it says if "array is not large enough to contain count of structures (starting from position)". I believe it means to say "starting from offset".
I came here, looking for clarification on the return value when hitting the end of the accessor .. but that's pretty unclear, I'll just have to test it.
Page URL
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.IO/UnmanagedMemoryAccessor.xml
Document Version Independent Id
74f2103a-0012-151b-4019-b12421cf56a3
Platform Id
09137589-dc72-efa3-27df-5494fa3caf68
Article author
@dotnet-bot
- Dominant language
- C#
- Stars
- 950
- Forks
- 1.7k
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 38
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotnet/dotnet-api-docs
-
untriaged
Difficulty 1/5 Under an hour Newbie friendliness 88/100
dotnet/dotnet-api-docs#13039 · 1 comment ·
-
DisplayAttribute string properties: Remarks incorrectly state the property performs resource lookup Openarea-System.ComponentModel.DataAnnotations untriaged
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
dotnet/dotnet-api-docs#13023 · 1 comment ·
-
area-System.Net.Sockets untriaged
Difficulty 1/5 Under an hour Newbie friendliness 88/100
dotnet/dotnet-api-docs#13022 · 1 comment ·
-
area-System.Runtime untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
dotnet/dotnet-api-docs#13015 · 1 comment ·
-
area-System.Runtime.InteropServices untriaged
Difficulty 1/5 Under an hour Newbie friendliness 84/100
dotnet/dotnet-api-docs#12959 ·
All issues in dotnet/dotnet-api-docs
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·