DeploymentContributorFilterer
DeploymentContributorFilterer copied to clipboard
IsDataLossCheck always returns true
- The check for this depends on whether ObjectName is null
- The assignment to ObjectName uses a conditional expression where, if match.Groups.Count > 0 something is assigned.
- "the Match.Groups property is a zero-based collection object that always has at least one member." https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.match.groups?view=netframework-4.8
I presume this was only intended to be true if the match is a success?