/// <summary> /// Initializes a new instance of the <see cref="InvocationTreeAnalyzer"/> class. /// </summary> /// <param name="context">The <see cref="AnalyzeContext"/> tracking information regarding the analysis.</param> /// <param name="model">A <see cref="SemanticModel"/> for the code being analyzed.</param> /// <param name="invokedMethod">An <see cref="InvokedMethod"/> instance that represents the method currently being analyzed.</param> public InvocationTreeAnalyzer(AnalyzeContext context, SemanticModel model, InvokedMethod?invokedMethod) { this.context = context; this.model = model; this.invokedMethod = invokedMethod.GetValueOrDefault(); }
/// <summary> /// Initializes a new instance of the <see cref="EntryPointAnalyzer"/> class. /// </summary> /// <param name="context">The <see cref="AnalyzeContext"/> that tracks the analysis.</param> /// <param name="model">A <see cref="SemanticModel"/> of the specifications project.</param> public EntryPointAnalyzer(AnalyzeContext context, SemanticModel model) : base(context, model) { this.context = context; this.model = model; }
/// <summary> /// Initializes a new instance of the <see cref="InvocationTreeAnalyzer"/> class. /// </summary> /// <param name="context">The <see cref="AnalyzeContext"/> tracking information regarding the analysis.</param> /// <param name="model">A <see cref="SemanticModel"/> for the code being analyzed.</param> public InvocationTreeAnalyzer(AnalyzeContext context, SemanticModel model) : this(context, model, null) { }