Daniel Grunwald
ca103100c6
Merge some bugfixes from SharpDevelop to NRefactory.
13 years ago
Daniel Grunwald
6bb526a8e3
Fixed issues with control flow analysis on incomplete AST.
13 years ago
Daniel Grunwald
9cdf7e71f9
Don't show 'method never returns' for iterators containing 'yield break;'
13 years ago
Daniel Grunwald
caa61c79ca
Add helper method for exporting the control flow graph to GraphViz.
13 years ago
Mike Krüger
31ec3a6c74
Handled possible null statement in control flow graph builder.
13 years ago
Mike Krüger
3451f5cb38
[Analysis] Handle null reference in control flow graph builder.
...
btw. assumes that if true statement is null the if is incomplete.
13 years ago
Mike Krüger
e639b4bcbb
[Analysis] Handled null conditions in do while & while statements.
13 years ago
Daniel Grunwald
4717de986e
Optimized the AstNode.Descendants property.
...
Over 3 times faster than the previous implementation - but still slower than a visitor.
Fastest is a recursive function based on a for-loop ("for (AstNode child = node.FirstChild; child != null; child = child.NextSibling)").
13 years ago
Daniel Grunwald
32ee4d4548
Fix icsharpcode/NRefactory#76 : definite assignment analysis ignores false part of conditional expressions.
13 years ago
Mike Krüger
5587b77d41
[Analysis] Fixed control flow generation for null embedded statement
...
(for statement).
13 years ago
Mike Krüger
bb4cafa0a5
Fixed null reference exception in control flow graph builder.
14 years ago
Mike Krüger
cfe6272793
Fixed possible null exception in control flow node.
14 years ago
Mike Krüger
90bf204c7f
Moved the roles class out of AstNode.
14 years ago
Daniel Grunwald
bcad2e12f7
DocumentScript bugfixes.
14 years ago
Daniel Grunwald
67d19127f5
Fixed bug in reachability analysis when lambda/anonymous method contains a condition or switch statement.
14 years ago
Daniel Grunwald
1a7ca154b4
Allow conversion of anonymous method with unreachable endpoint to Func<T>.
14 years ago
Daniel Grunwald
858d4cc673
Fixed NullReferenceException in ControlFlow.NodeCreationVisitor.VisitSwitchStatement.
14 years ago
Daniel Grunwald
0b263b0b74
TypeSystemConvertVisitor: implemented ConvertInterfaceImplementation for methods and properties.
...
Implemented 'goto case' support in control flow analysis.
14 years ago
Daniel Grunwald
e2cb5467c2
Adjust CodeDomConvertVisitor and DefiniteAssignmentAnalysis to new type system.
14 years ago
Daniel Grunwald
73438b7288
Make CSharpResolveVisitor internal and expose CSharpAstResolver instead.
14 years ago
Daniel Grunwald
f631199013
Type system refactoring: split unresolved/resolved type systems.
14 years ago
Daniel Grunwald
e4d1f545fd
Add CodeDomConvertVisitor.
14 years ago
Daniel Grunwald
b5b2408cbc
Move NRefactory.CSharp to separate assembly.
14 years ago