System.ArgumentException: An item with the same key has already been added. Key: TddXt.TypeResolution.FallbackTypeGenerator
at System.Collections.Generic.Dictionary2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at System.Collections.Generic.Dictionary2.Add(TKey key, TValue value)
at System.Linq.Enumerable.ToDictionary[TSource,TKey](List1 source, Func2 keySelector, IEqualityComparer1 comparer) at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable1 source, Func2 keySelector, IEqualityComparer1 comparer)
at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable1 source, Func2 keySelector)
at NScan.Adapter.ReadingCSharpSolution.ReadingCSharpSourceCode.ClassGatheringVisitor.ToDictionary()
at NScan.Adapter.ReadingCSharpSolution.ReadingCSharpSourceCode.CSharpFileSyntaxTree.GetClassDeclarationSignatures()
at NScan.Adapter.ReadingCSharpSolution.ReadingCSharpSourceCode.CSharpFileSyntaxTree.<>c.b__8_0(CSharpFileSyntaxTree syntax)
at System.Linq.Enumerable.SelectManySingleSelectorIterator2.MoveNext() at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector)
at NScan.Adapter.ReadingCSharpSolution.ReadingCSharpSourceCode.CSharpFileSyntaxTree.GetClassDeclarationSignaturesFromFiles(IEnumerable1 cSharpSyntaxs) at NScan.Adapter.ReadingCSharpSolution.ReadingProjects.SourceCodeFilePaths.LoadFilesInto(XmlProjectDataAccess projectAccess) at NScan.Adapter.ReadingCSharpSolution.ReadingProjects.ProjectPaths.LoadXmlProject(AbsoluteFilePath projectFilePath) at NScan.Adapter.ReadingCSharpSolution.ReadingProjects.ProjectPaths.<LoadXmlProjectFromPath>b__8_0(AbsoluteFilePath path) at System.Linq.Enumerable.SelectListIterator2.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.ToList() at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at NScan.Adapter.ReadingCSharpSolution.ReadingProjects.ProjectPaths.LoadXmlProjects()
at TddXt.NScan.NScanMain.ReadCsharpProjects(InputArgumentsDto inputArguments, INScanSupport support)
at TddXt.NScan.NScanMain.Run(InputArgumentsDto inputArguments, INScanOutput output, INScanSupport support)
Unhandled exception. FluentAssertions.Execution.AssertionFailedException: Expected value to be 0, but found -2.
at FluentAssertions.Execution.FallbackTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func1 failReasonFunc) at FluentAssertions.Execution.AssertionScope.FailWith(Func1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Numeric.NumericAssertions`1.Be(T expected, String because, Object[] becauseArgs)
at $.$(String[] args) in C:\Users\Hyperbook\Documents\GitHub\any\src\netstandard2.0\BuildScript\Program.cs:line 25
On Any.sln:
System.ArgumentException: An item with the same key has already been added. Key: TddXt.TypeResolution.FallbackTypeGenerator at System.Collections.Generic.Dictionaryb__8_0(CSharpFileSyntaxTree syntax)
at System.Linq.Enumerable.SelectManySingleSelectorIterator$.$(String[] args) in C:\Users\Hyperbook\Documents\GitHub\any\src\netstandard2.0\BuildScript\Program.cs:line 25
2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at System.Collections.Generic.Dictionary
2.Add(TKey key, TValue value) at System.Linq.Enumerable.ToDictionary[TSource,TKey](List1 source, Func
2 keySelector, IEqualityComparer1 comparer) at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable
1 source, Func2 keySelector, IEqualityComparer
1 comparer) at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable1 source, Func
2 keySelector) at NScan.Adapter.ReadingCSharpSolution.ReadingCSharpSourceCode.ClassGatheringVisitor.ToDictionary() at NScan.Adapter.ReadingCSharpSolution.ReadingCSharpSourceCode.CSharpFileSyntaxTree.GetClassDeclarationSignatures() at NScan.Adapter.ReadingCSharpSolution.ReadingCSharpSourceCode.CSharpFileSyntaxTree.<>c.2.MoveNext() at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable
1 source, Func2 keySelector, Func
2 elementSelector, IEqualityComparer1 comparer) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable
1 source, Func2 keySelector, Func
2 elementSelector) at NScan.Adapter.ReadingCSharpSolution.ReadingCSharpSourceCode.CSharpFileSyntaxTree.GetClassDeclarationSignaturesFromFiles(IEnumerable1 cSharpSyntaxs) at NScan.Adapter.ReadingCSharpSolution.ReadingProjects.SourceCodeFilePaths.LoadFilesInto(XmlProjectDataAccess projectAccess) at NScan.Adapter.ReadingCSharpSolution.ReadingProjects.ProjectPaths.LoadXmlProject(AbsoluteFilePath projectFilePath) at NScan.Adapter.ReadingCSharpSolution.ReadingProjects.ProjectPaths.<LoadXmlProjectFromPath>b__8_0(AbsoluteFilePath path) at System.Linq.Enumerable.SelectListIterator
2.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator2.ToList() at System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source) at NScan.Adapter.ReadingCSharpSolution.ReadingProjects.ProjectPaths.LoadXmlProjects() at TddXt.NScan.NScanMain.ReadCsharpProjects(InputArgumentsDto inputArguments, INScanSupport support) at TddXt.NScan.NScanMain.Run(InputArgumentsDto inputArguments, INScanOutput output, INScanSupport support) Unhandled exception. FluentAssertions.Execution.AssertionFailedException: Expected value to be 0, but found -2. at FluentAssertions.Execution.FallbackTestFramework.Throw(String message) at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message) at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) at FluentAssertions.Execution.AssertionScope.FailWith(Func1 failReasonFunc) at FluentAssertions.Execution.AssertionScope.FailWith(Func
1 failReasonFunc) at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) at FluentAssertions.Numeric.NumericAssertions`1.Be(T expected, String because, Object[] becauseArgs) at