Example #1
0
 public static bool GetSpecificationEquivalentMethod(SpecificationsElements specificationsElements,
                                                     ref MethodSymbol methodSymbol, Dictionary <MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
                                                     Dictionary <string, List <MethodDeclarationSyntax> > specificationGetMethods,
                                                     List <TypeSymbol> argumentTypes = null)
 {
     return(false);
 }
Example #2
0
 public GetMembersVisitor(ISemanticModel semanticModel, SpecificationsElements specificationsElements,
     MethodSymbol methodSymbol, string serverFxDALInterfacesNamespace,
     ConcurrentDictionary<MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
     ConcurrentDictionary<string, MethodDeclarationSyntax> methodPerMethodSymbols,
     Dictionary<string, List<MethodDeclarationSyntax>> getMethods, List<MethodDeclarationSyntax> extensionMethods)
     : this(semanticModel, specificationsElements, serverFxDALInterfacesNamespace, semanticModelPerMethods,
         methodPerMethodSymbols, getMethods, extensionMethods,
         new Dictionary<string, PropertyDependence>(), new Dictionary<string, int>(), 0,
         new List<MethodSymbol>() { methodSymbol }, true)
 {
     _fromOriginalMethod = true;
 }
Example #3
0
 public GetMembersVisitor(ISemanticModel semanticModel, SpecificationsElements specificationsElements,
                          MethodSymbol methodSymbol, string serverFxDALInterfacesNamespace,
                          ConcurrentDictionary <MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
                          ConcurrentDictionary <string, MethodDeclarationSyntax> methodPerMethodSymbols,
                          Dictionary <string, List <MethodDeclarationSyntax> > getMethods, List <MethodDeclarationSyntax> extensionMethods)
     : this(
         semanticModel, specificationsElements, serverFxDALInterfacesNamespace, semanticModelPerMethods,
         methodPerMethodSymbols, getMethods, extensionMethods,
         new Dictionary <string, PropertyDependence>(), new Dictionary <string, int>(), 0,
         new List <MethodSymbol>() { methodSymbol }, true)
 {
     _fromOriginalMethod = true;
 }
Example #4
0
 private GetMembersVisitor(ISemanticModel semanticModel, SpecificationsElements specificationsElements,
                           string serverFxDALInterfacesNamespace,
                           ConcurrentDictionary <MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
                           ConcurrentDictionary <string, MethodDeclarationSyntax> methodPerMethodSymbols,
                           Dictionary <string, List <MethodDeclarationSyntax> > getMethods, List <MethodDeclarationSyntax> extensionMethods,
                           Dictionary <string, PropertyDependence> variables, Dictionary <string, int> fromVariables,
                           int linqIndex, List <MethodSymbol> alreadyCalledMethods, bool definePropertyDependences, int failed = 0)
 {
     _semanticModel                  = semanticModel;
     _specificationsElements         = specificationsElements;
     _serverFxDALInterfacesNamespace = serverFxDALInterfacesNamespace;
     _semanticModelPerMethods        = semanticModelPerMethods;
     _methodPerMethodSymbols         = methodPerMethodSymbols;
     _getMethods                = getMethods;
     _extensionMethods          = extensionMethods;
     _variables                 = variables;
     _fromVariables             = fromVariables;
     _linqIndex                 = linqIndex;
     _alreadyCalledMethods      = alreadyCalledMethods;
     _properties                = new PropertyDependence();
     _definePropertyDependences = definePropertyDependences;
     _failed = failed;
 }
Example #5
0
 public static bool GetSpecificationEquivalentMethod(SpecificationsElements specificationsElements,
     ref MethodSymbol methodSymbol, Dictionary<MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
     IEnumerable<MethodDeclarationSyntax> candidatesMethods, string defaultClassName = null)
 {
     return false;
 }
Example #6
0
 public static bool GetSpecificationEquivalentMethod(SpecificationsElements specificationsElements,
     ref MethodSymbol methodSymbol, Dictionary<MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
     Func<IEnumerable<MethodDeclarationSyntax>> getMethods)
 {
     return false;
 }
Example #7
0
 public static bool GetSpecificationEquivalentMethod(SpecificationsElements specificationsElements,
     ref MethodSymbol methodSymbol, Dictionary<MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
     Dictionary<string, List<MethodDeclarationSyntax>> specificationGetMethods,
     List<TypeSymbol> argumentTypes = null)
 {
     return false;
 }
Example #8
0
 public static bool GetSpecificationEquivalentMethod(SpecificationsElements specificationsElements,
                                                     ref MethodSymbol methodSymbol, Dictionary <MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
                                                     IEnumerable <MethodDeclarationSyntax> candidatesMethods, string defaultClassName = null)
 {
     return(false);
 }
Example #9
0
 public static bool GetSpecificationEquivalentMethod(SpecificationsElements specificationsElements,
                                                     ref MethodSymbol methodSymbol, Dictionary <MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
                                                     Func <IEnumerable <MethodDeclarationSyntax> > getMethods)
 {
     return(false);
 }
Example #10
0
 private GetMembersVisitor(ISemanticModel semanticModel, SpecificationsElements specificationsElements,
     string serverFxDALInterfacesNamespace,
     ConcurrentDictionary<MethodDeclarationSyntax, ISemanticModel> semanticModelPerMethods,
     ConcurrentDictionary<string, MethodDeclarationSyntax> methodPerMethodSymbols,
     Dictionary<string, List<MethodDeclarationSyntax>> getMethods, List<MethodDeclarationSyntax> extensionMethods,
     Dictionary<string, PropertyDependence> variables, Dictionary<string, int> fromVariables,
     int linqIndex, List<MethodSymbol> alreadyCalledMethods, bool definePropertyDependences, int failed = 0)
 {
     _semanticModel = semanticModel;
     _specificationsElements = specificationsElements;
     _serverFxDALInterfacesNamespace = serverFxDALInterfacesNamespace;
     _semanticModelPerMethods = semanticModelPerMethods;
     _methodPerMethodSymbols = methodPerMethodSymbols;
     _getMethods = getMethods;
     _extensionMethods = extensionMethods;
     _variables = variables;
     _fromVariables = fromVariables;
     _linqIndex = linqIndex;
     _alreadyCalledMethods = alreadyCalledMethods;
     _properties = new PropertyDependence();
     _definePropertyDependences = definePropertyDependences;
     _failed = failed;
 }