Skip to content

Commit

Permalink
Use extension method
Browse files Browse the repository at this point in the history
  • Loading branch information
nekresh committed Dec 5, 2014
1 parent 803de99 commit d02831b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion InterfaceStubGenerator/InterfaceStubGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public void GenerateWarnings(List<InterfaceDeclarationSyntax> interfacesToGenera
.Where(g => g.Count() > 1)
.SelectMany(g => g.Select(x => new MultipleRefitMethodSameNameWarning(x.Interface, x.Method)));

var diagnostics = Enumerable.Concat<Diagnostic>(missingAttributeWarnings, overloadWarnings);
var diagnostics = missingAttributeWarnings.Concat<Diagnostic>(overloadWarnings);

foreach (var diagnostic in diagnostics) {
Console.Error.WriteLine(diagnostic);
Expand Down

0 comments on commit d02831b

Please sign in to comment.