dotnet / dotnet/dotnet-api-docs

Incorrect metaphor

Open
#1,778 0 comments 0 reactions 0 assignees View on GitHub
area-System.Diagnostics dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

The skipFrames parameter of the StackTrace constructor states "The number of frames up the stack from which to start the trace." The stack metaphor is that of callers being *below* on the stack, so this should read, "The number of frames down the stack from which to start the trace."

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 363bc598-218c-069d-f6fd-b6183be915ae
* Version Independent ID: 8f8fc543-50bd-c7d9-2f74-dae0c1b0d5f4
* Content: [StackTrace Constructor (System.Diagnostics)](https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.stacktrace.-ctor?view=netframework-4.7.2#System_Diagnostics_StackTrace__ctor_System_Int32_)
* Content Source: [xml/System.Diagnostics/StackTrace.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Diagnostics/StackTrace.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.