-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
dotnet-csharp/svcerrors-warnings/subsvcin-prThis issue will be closed (fixed) by an active pull request.This issue will be closed (fixed) by an active pull request.okr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.Content-quality KR: Concerns article defects (bugs), freshness, or build warnings.
Description
Type of issue
Code doesn't work
Description
Code Sample in .NET Documentation does not produce CS1502 error:
// CS1502.cs
namespace x
{
public class a
{
public a(char i)
// try the following constructor instead
// public a(int i)
{
}
public static void Main()
{
a aa = new a(2222); // CS1502
}
}
}
CS1503 is shown instead.
Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs1502
Content source URL
Document Version Independent Id
6c2dac12-ba9a-4044-a93e-7cf759735f22
Article author
Metadata
- ID: ba03ad71-413b-a1bf-c759-29a575887e72
- Service: dotnet-csharp
- Sub-service: errors-warnings
Metadata
Metadata
Assignees
Labels
dotnet-csharp/svcerrors-warnings/subsvcin-prThis issue will be closed (fixed) by an active pull request.This issue will be closed (fixed) by an active pull request.okr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.Content-quality KR: Concerns article defects (bugs), freshness, or build warnings.