Example #1
0
 private IEnumerable <VariableAccess> GetStatementsAccessedVariables()
 {
     return(SimpleStatements.SelectMany(a => a.Expressions).FilterExpression <VariableAccess>());
 }
Example #2
0
 public IEnumerable <FieldDeclaration> GetDeclaredFields()
 {
     return(SimpleStatements.SelectMany(a => a.Expressions).FilterExpression <FieldDeclaration>());
 }
Example #3
0
 public IEnumerable <IVariableModification> GetModifiedFields()
 {
     return(SimpleStatements.SelectMany(a => a.Expressions).FilterExpression <VariableModification>());
 }
Example #4
0
 public IEnumerable <IMethodInvocation> GetInvokedMethods()
 {
     return(SimpleStatements.SelectMany(a => a.Expressions).FilterExpression <MethodInvocation>());
 }
Example #5
0
 public IEnumerable <ILocalVariableDeclaration> GetDeclaredLocalVariables()
 {
     return(SimpleStatements.SelectMany(a => a.Expressions).FilterExpression <LocalVariableDeclaration>());
 }