Skip to content

IP Parsing fails for variables #571

@giggio

Description

@giggio

This will incorrectly raise CC0064:

var correctIP = "0.0.0.0";
System.Net.IPAddress.Parse(correctIP);

The analyzer should ignore non string literals.

Might be happening also for others, like Regex and Json.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions