9 references to DuplicateDirective
dotnet (1)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
1491diagnostics.AddError(sourceFile, directive.Info.Span, string.Format(CliCommandStrings.DuplicateDirective, typeAndName));
dotnet.Tests (8)
CommandTests\Project\Convert\DotnetProjectConvertTests.cs (8)
1193(2, string.Format(CliCommandStrings.DuplicateDirective, "#:property Prop")), 1205(2, string.Format(CliCommandStrings.DuplicateDirective, "#:sdk Name")), 1206(3, string.Format(CliCommandStrings.DuplicateDirective, "#:sdk Name")), 1218(2, string.Format(CliCommandStrings.DuplicateDirective, "#:package Name")), 1219(3, string.Format(CliCommandStrings.DuplicateDirective, "#:package Name")), 1238(2, string.Format(CliCommandStrings.DuplicateDirective, "#:property Prop")), 1239(4, string.Format(CliCommandStrings.DuplicateDirective, "#:property Prop")), 1249(2, string.Format(CliCommandStrings.DuplicateDirective, "#:property prop")),