C# Class StaticAnalysis.DependencyAnalyzer.DependencyAnalyzer

The static analysis tool for ensuring no runtime conflicts in assembly dependencies
Inheritance: IStaticAnalyzer
Mostra file Open project: Azure/azure-powershell

Public Methods

Method Description
Analyze ( IEnumerable directories ) : void
DependencyAnalyzer ( ) : System
GetAnalysisReport ( ) : AnalysisReport

These methods will be added in a new work item that has enhancements for Static Analysis tool

Private Methods

Method Description
AddSharedAssembly ( AssemblyRecord assembly ) : bool
AddSharedAssemblyExactVersion ( AssemblyRecord record ) : bool
CheckAssemblyReference ( AssemblyName reference, AssemblyRecord parent ) : void
CreateAssemblyRecord ( string path ) : AssemblyRecord
FindExtraAssemblies ( ) : void
IStaticAnalyzer ( IEnumerable cmdletProbingDirs, Func directoryFilter, bool>.Func cmdletFilter ) : void

These methods will be added in a new work item that has enhancements for Static Analysis tool

IsCommandAssembly ( AssemblyRecord assembly ) : bool
IsFrameworkAssembly ( AssemblyName name ) : bool
LoadByReflectionFromFile ( string assemblyPath ) : AssemblyMetadata
ProcessDirectory ( string directoryPath ) : void
RequiresExactVersionMatch ( AssemblyRecord name ) : bool

Method Details

Analyze() public method

public Analyze ( IEnumerable directories ) : void
directories IEnumerable
return void

DependencyAnalyzer() public method

public DependencyAnalyzer ( ) : System
return System

GetAnalysisReport() public method

These methods will be added in a new work item that has enhancements for Static Analysis tool
public GetAnalysisReport ( ) : AnalysisReport
return AnalysisReport