private IEnumerable <VariableAccess> GetStatementsAccessedVariables() { return(SimpleStatements.SelectMany(a => a.Expressions).FilterExpression <VariableAccess>()); }
public IEnumerable <FieldDeclaration> GetDeclaredFields() { return(SimpleStatements.SelectMany(a => a.Expressions).FilterExpression <FieldDeclaration>()); }
public IEnumerable <IVariableModification> GetModifiedFields() { return(SimpleStatements.SelectMany(a => a.Expressions).FilterExpression <VariableModification>()); }
public IEnumerable <IMethodInvocation> GetInvokedMethods() { return(SimpleStatements.SelectMany(a => a.Expressions).FilterExpression <MethodInvocation>()); }
public IEnumerable <ILocalVariableDeclaration> GetDeclaredLocalVariables() { return(SimpleStatements.SelectMany(a => a.Expressions).FilterExpression <LocalVariableDeclaration>()); }