-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
Concept-APIThis issue involves adding, removing, clarification, or modification of an API.This issue involves adding, removing, clarification, or modification of an API.Feature RequestInteractive-Debuggingapi-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implemented
Milestone
Description
Background and Motivation
See #74625
Proposed API
namespace Microsoft.CodeAnalysis.Emit;
{
public readonly struct RuntimeRudeEdit
{
+ public int ErrorCode { get; }
+ public RuntimeRudeEdit(string message, int errorCode)
+ [Obsolete("Specify errorCode")]
public RuntimeRudeEdit(string message);
}Usage Examples
Used by Roslyn EnC analyzer in the IDE to specify error code for runtime rude edit.
Alternative Designs
Risks
Metadata
Metadata
Assignees
Labels
Concept-APIThis issue involves adding, removing, clarification, or modification of an API.This issue involves adding, removing, clarification, or modification of an API.Feature RequestInteractive-Debuggingapi-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implemented