提交 ab17ea76 编写于 作者: J John Hamby

Removed a "PROTOTYPE" from a comment.

上级 61e349a3
......@@ -1478,8 +1478,8 @@ private string GetLocalDebugName(ILocalSymbolInternal local, out LocalDebugId lo
// only user-defined locals should be named during lowering:
Debug.Assert((local.Name == null) == (localKind != SynthesizedLocalKind.UserDefined));
// PROTOTYPE: Generating debug names for instrumentation payload should be allowed pending https://github.com/dotnet/roslyn/issues/11024.
// Skip naming locals generated by instrumentation as they might not have a local syntax offset.
// Generating debug names for instrumentation payloads should be allowed, as described in https://github.com/dotnet/roslyn/issues/11024.
// For now, skip naming locals generated by instrumentation as they might not have a local syntax offset.
// Locals generated by instrumentation might exist in methods which do not contain a body (auto property initializers).
if (!localKind.IsLongLived() || localKind == SynthesizedLocalKind.InstrumentationPayload)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册