Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<summary xml:lang/> raises InvalidOperationException #17

Closed
dimaaan opened this issue Jan 29, 2017 · 0 comments
Closed

<summary xml:lang/> raises InvalidOperationException #17

dimaaan opened this issue Jan 29, 2017 · 0 comments

Comments

@dimaaan
Copy link

dimaaan commented Jan 29, 2017

/// <summary xml:lang="ru">
/// Автор книги
/// </summary>
class author
{
}

fails with:

System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at Quoter.AddFactoryMethodArguments(MethodInfo factory, MethodCall factoryMethodCall, List`1 quotedValues)
   at Quoter.QuoteNode(SyntaxNode node, String name)
   at Quoter.Quote(Object treeElement, String name)
   at Quoter.<QuoteList>b__31_0(Object o)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at Quoter.QuoteList(IEnumerable syntaxList, String name)
   at Quoter.QuotePropertyValue(SyntaxNode node, PropertyInfo property)
   at Quoter.<>c__DisplayClass28_0.<QuotePropertyValues>b__2(PropertyInfo propertyInfo)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   at Quoter.QuotePropertyValues(SyntaxNode node)
   at Quoter.QuoteNode(SyntaxNode node, String name)
   at Quoter.QuotePropertyValue(SyntaxNode node, PropertyInfo property)
   at Quoter.<>c__DisplayClass28_0.<QuotePropertyValues>b__2(PropertyInfo propertyInfo)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   at Quoter.QuotePropertyValues(SyntaxNode node)
   at Quoter.QuoteNode(SyntaxNode node, String name)
   at Quoter.Quote(Object treeElement, String name)
   at Quoter.<QuoteList>b__31_0(Object o)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at Quoter.QuoteList(IEnumerable syntaxList, String name)
   at Quoter.QuotePropertyValue(SyntaxNode node, PropertyInfo property)
   at Quoter.<>c__DisplayClass28_0.<QuotePropertyValues>b__2(PropertyInfo propertyInfo)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   at Quoter.QuotePropertyValues(SyntaxNode node)
   at Quoter.QuoteNode(SyntaxNode node, String name)
   at Quoter.QuoteTrivia(SyntaxTrivia syntaxTrivia)
   at Quoter.Quote(Object treeElement, String name)
   at Quoter.<QuoteList>b__31_0(Object o)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at Quoter.QuoteList(IEnumerable syntaxList, String name)
   at Quoter.GetLeadingTrivia(SyntaxToken value)
   at Quoter.QuoteToken(SyntaxToken value, String name)
   at Quoter.QuotePropertyValue(SyntaxNode node, PropertyInfo property)
   at Quoter.<>c__DisplayClass28_0.<QuotePropertyValues>b__2(PropertyInfo propertyInfo)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   at Quoter.QuotePropertyValues(SyntaxNode node)
   at Quoter.QuoteNode(SyntaxNode node, String name)
   at Quoter.Quote(Object treeElement, String name)
   at Quoter.<QuoteList>b__31_0(Object o)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at Quoter.QuoteList(IEnumerable syntaxList, String name)
   at Quoter.QuotePropertyValue(SyntaxNode node, PropertyInfo property)
   at Quoter.<>c__DisplayClass28_0.<QuotePropertyValues>b__2(PropertyInfo propertyInfo)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   at Quoter.QuotePropertyValues(SyntaxNode node)
   at Quoter.QuoteNode(SyntaxNode node, String name)
   at Quoter.Quote(Object treeElement, String name)
   at Quoter.Quote(SyntaxNode node)
   at QuoterService.Controllers.QuoterController.Get(String sourceText, NodeKind nodeKind, Boolean openCurlyOnNewLine, Boolean closeCurlyOnNewLine, Boolean preserveOriginalWhitespace, Boolean keepRedundantApiCalls, Boolean avoidUsingStatic)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant