22 references to WRN_DuplicateUsing
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (2)
265case ErrorCode.WRN_DuplicateUsing: 701or ErrorCode.WRN_DuplicateUsing
Generated\ErrorFacts.Generated.cs (1)
12case ErrorCode.WRN_DuplicateUsing:
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (2)
781ErrorCode.WRN_DuplicateUsing, 807ErrorCode.WRN_DuplicateUsing,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\ExtensionTests.cs (1)
11728Diagnostic(ErrorCode.WRN_DuplicateUsing, "N2").WithArguments("N2").WithLocation(2, 7)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\GlobalUsingDirectiveTests.cs (12)
2564Diagnostic(ErrorCode.WRN_DuplicateUsing, "C2").WithArguments("C2").WithLocation(2000, 21), 2574Diagnostic(ErrorCode.WRN_DuplicateUsing, "C2").WithArguments("C2").WithLocation(3000, 14) 2581Diagnostic(ErrorCode.WRN_DuplicateUsing, "C2").WithArguments("C2").WithLocation(2000, 21), 2584Diagnostic(ErrorCode.WRN_DuplicateUsing, "C2").WithArguments("C2").WithLocation(3000, 14) 2604Diagnostic(ErrorCode.WRN_DuplicateUsing, "C2").WithArguments("C2").WithLocation(3000, 14) 2680Diagnostic(ErrorCode.WRN_DuplicateUsing, "C2").WithArguments("C2").WithLocation(1000, 14) 2718Diagnostic(ErrorCode.WRN_DuplicateUsing, "N2").WithArguments("N2").WithLocation(2000, 14), 2728Diagnostic(ErrorCode.WRN_DuplicateUsing, "N2").WithArguments("N2").WithLocation(3000, 7) 2735Diagnostic(ErrorCode.WRN_DuplicateUsing, "N2").WithArguments("N2").WithLocation(2000, 14), 2738Diagnostic(ErrorCode.WRN_DuplicateUsing, "N2").WithArguments("N2").WithLocation(3000, 7) 2758Diagnostic(ErrorCode.WRN_DuplicateUsing, "N2").WithArguments("N2").WithLocation(3000, 7) 2834Diagnostic(ErrorCode.WRN_DuplicateUsing, "N2").WithArguments("N2").WithLocation(1000, 7)
Semantics\InteractiveUsingTests.cs (1)
280Diagnostic(ErrorCode.WRN_DuplicateUsing, "System").WithArguments("System").WithLocation(1, 21));
Semantics\NameCollisionTests.cs (1)
1999Diagnostic(ErrorCode.WRN_DuplicateUsing, "Static<System.String>").WithArguments("Static<string>").WithLocation(3, 14),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\SymbolErrorTests.cs (2)
17052Diagnostic(ErrorCode.WRN_DuplicateUsing, "System").WithArguments("System"), 17055Diagnostic(ErrorCode.WRN_DuplicateUsing, "Goo.Bar").WithArguments("Goo.Bar"),