Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: why getter method of some properties has no associated document in MethodDebugInformation table? #76621

Open
huangmin-ms opened this issue Jan 4, 2025 · 2 comments
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead

Comments

@huangmin-ms
Copy link

huangmin-ms commented Jan 4, 2025

Version Used:
4.9.0-3.24054.13

Steps to Reproduce:

  1. Download NuGet package from https://www.nuget.org/packages/Microsoft.NETCore.App.Runtime.linux-x64/9.0.0-preview.1.24080.9
  2. Go to folder runtimes\\linux-x64\\lib\\net9 and find System.Private.CoreLib.dll.
  3. Download its pdb at http://msdl.microsoft.com/download/symbols/system.private.corelib.pdb/ac74fc414d46e6b6e873bfddfb7f9e2dFFFFFFFF/system.private.corelib.pdb
  4. Go to MethodDebugInformation table, the associated document for get_IsBit64Process is null but it is not null for get_NewLine
    Image

Source code:
https://github.com/dotnet/runtime/blob/1e5bae2e56180897c95ac3f9adaa5609d14d20b3/src/libraries/System.Private.CoreLib/src/System/Environment.cs#L205

 public static bool Is64BitProcess => IntPtr.Size == 8;
public static string NewLine => NewLineConst;

Question: Why get_IsBit64Process has no document while get_NewLine does?

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Jan 4, 2025
@huangmin-ms
Copy link
Author

@tmat @jaredpar @ericstj @sbomer
could you help to answer my question above? Thanks!

@jaredpar
Copy link
Member

jaredpar commented Jan 6, 2025

@huangmin-ms

Go to MethodDebugInformation table, the associated document for get_IsBit64Process is null but it is not null for get_NewLine

What tool are you using here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

No branches or pull requests

2 participants