9 references to DuplicateDirective
dotnet (1)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
1525diagnostics.AddError(sourceFile, directive.Info.Span, string.Format(CliCommandStrings.DuplicateDirective, typeAndName));
dotnet.Tests (8)
CommandTests\Project\Convert\DotnetProjectConvertTests.cs (8)
1528(2, string.Format(CliCommandStrings.DuplicateDirective, "#:property Prop")), 1540(2, string.Format(CliCommandStrings.DuplicateDirective, "#:sdk Name")), 1541(3, string.Format(CliCommandStrings.DuplicateDirective, "#:sdk Name")), 1553(2, string.Format(CliCommandStrings.DuplicateDirective, "#:package Name")), 1554(3, string.Format(CliCommandStrings.DuplicateDirective, "#:package Name")), 1573(2, string.Format(CliCommandStrings.DuplicateDirective, "#:property Prop")), 1574(4, string.Format(CliCommandStrings.DuplicateDirective, "#:property Prop")), 1584(2, string.Format(CliCommandStrings.DuplicateDirective, "#:property prop")),