File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ public class IssueChecker : IStaticAnalyzer
30
30
{
31
31
private readonly List < ( string , string ) > exceptionLogInfoList = new List < ( string , string ) > ( )
32
32
{
33
- ( "BreakingChangeIssues.csv" , "BreakingChangeIssues" ) ,
34
- ( "AssemblyVersionConflict.csv" , " AssemblyVersionConflict" ) ,
35
- ( "SharedAssemblyConflict.csv" , " SharedAssemblyConflict" ) ,
36
- ( "MissingAssemblies.csv" , " MissingAssembly" ) ,
37
- ( "ExtraAssemblies.csv" , " ExtraAssembly" ) ,
33
+ ( "BreakingChangeIssues.csv" , typeof ( BreakingChangeIssue ) . FullName ) ,
34
+ ( "AssemblyVersionConflict.csv" , typeof ( AssemblyVersionConflict ) . FullName ) ,
35
+ ( "SharedAssemblyConflict.csv" , typeof ( SharedAssemblyConflict ) . FullName ) ,
36
+ ( "MissingAssemblies.csv" , typeof ( MissingAssembly ) . FullName ) ,
37
+ ( "ExtraAssemblies.csv" , typeof ( ExtraAssembly ) . FullName ) ,
38
38
} ;
39
39
public AnalysisLogger Logger { get ; set ; }
40
40
Original file line number Diff line number Diff line change @@ -28,23 +28,23 @@ public static class ReportRecordFactory
28
28
{
29
29
public static IReportRecord Create ( string type )
30
30
{
31
- if ( type . Equals ( " BreakingChangeIssue" ) )
31
+ if ( type . Equals ( typeof ( BreakingChangeIssue ) . FullName ) )
32
32
{
33
33
return new BreakingChangeIssue ( ) ;
34
34
}
35
- if ( type . Equals ( " AssemblyVersionConflict" ) )
35
+ if ( type . Equals ( typeof ( AssemblyVersionConflict ) . FullName ) )
36
36
{
37
37
return new AssemblyVersionConflict ( ) ;
38
38
}
39
- if ( type . Equals ( " SharedAssemblyConflict" ) )
39
+ if ( type . Equals ( typeof ( SharedAssemblyConflict ) . FullName ) )
40
40
{
41
41
return new SharedAssemblyConflict ( ) ;
42
42
}
43
- if ( type . Equals ( " MissingAssembly" ) )
43
+ if ( type . Equals ( typeof ( MissingAssembly ) . FullName ) )
44
44
{
45
45
return new MissingAssembly ( ) ;
46
46
}
47
- if ( type . Equals ( " ExtraAssembly" ) )
47
+ if ( type . Equals ( typeof ( ExtraAssembly ) . FullName ) )
48
48
{
49
49
return new ExtraAssembly ( ) ;
50
50
}
You can’t perform that action at this time.
0 commit comments