protected NsDepCopDiagnosticAnalyzerBase(ITypeDependencyEnumerator typeDependencyEnumerator) { if (typeDependencyEnumerator == null) { throw new ArgumentNullException(nameof(typeDependencyEnumerator)); } _analyzerProvider = CreateDependencyAnalyzerProvider(typeDependencyEnumerator); _projectFileResolver = CreateProjectFileResolver(); }
public CachingProjectFileResolver(IProjectFileResolver projectFileResolver, IDateTimeProvider dateTimeProvider, TimeSpan cacheTimeSpan) : base(dateTimeProvider, cacheTimeSpan) { _projectFileResolver = projectFileResolver ?? throw new ArgumentNullException(nameof(projectFileResolver)); }