Skip to content

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

@huangmin-ms

Description

@huangmin-ms

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?

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions