зеркало из https://github.com/github/codeql.git
744 B
744 B
lgtm,codescanning
- Generic methods return their names (
getName()
,getQualifiedName()
andtoStringWithTypes()
) with angle brackets, for exampleSystem.Linq.Enumerable.Empty<TResult>()
returnsEmpty<>
,System.Linq.Enumerable.Empty<>
andEmpty<TResult>()
respectively for the unbound generic method; andEmpty<Int32>
,System.Linq.Enumerable.Empty<System.Int32>
andEmpty<int>()
respectively for the constructed generic case. - When accessing
getName()
,getQualifiedName()
andtoStringWithTypes()
on constructed types, the type argument names are rendered bygetName()
,getQualifiedName()
andtoStringWithTypes()
respectively. getUndecoratedName()
can be used to access the name without angle brackets.