File tree Expand file tree Collapse file tree 7 files changed +28
-7
lines changed
System.IO.Abstractions.Analyzers/Analyzers Expand file tree Collapse file tree 7 files changed +28
-7
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ public class FileServiceInterfaceInjectionAnalyzer : BaseFileSystemAnalyzer
3434 /// </summary>
3535 private const string Description = "Use System.IO.Abstractions for improved application testability" ;
3636
37+ private const string Link = "http://bit.ly/2OyHRbq" ;
38+
3739 /// <summary>
3840 /// Правило
3941 /// </summary>
@@ -43,7 +45,8 @@ public class FileServiceInterfaceInjectionAnalyzer : BaseFileSystemAnalyzer
4345 Category ,
4446 DiagnosticSeverity . Warning ,
4547 true ,
46- Description ) ;
48+ Description ,
49+ Link ) ;
4750
4851 public override ImmutableArray < DiagnosticDescriptor > SupportedDiagnostics => ImmutableArray . Create ( Rule ) ;
4952
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ public class DirectoryAnalyzer : BaseFileSystemNodeAnalyzer
3030 /// </summary>
3131 private const string Description = Title ;
3232
33+ private const string Link = "http://bit.ly/2Oz9iSx" ;
34+
3335 /// <summary>
3436 /// Правило
3537 /// </summary>
@@ -39,7 +41,8 @@ public class DirectoryAnalyzer : BaseFileSystemNodeAnalyzer
3941 Category ,
4042 DiagnosticSeverity . Warning ,
4143 true ,
42- Description ) ;
44+ Description ,
45+ Link ) ;
4346
4447 /// <inheritdoc />
4548 public override ImmutableArray < DiagnosticDescriptor > SupportedDiagnostics => ImmutableArray . Create ( Rule ) ;
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ public class DirectoryInfoAnalyzer: BaseFileSystemNodeAnalyzer
3030 /// </summary>
3131 private const string Description = Title ;
3232
33+ private const string Link = "http://bit.ly/2OCAmQF" ;
34+
3335 /// <summary>
3436 /// Правило
3537 /// </summary>
@@ -39,7 +41,8 @@ public class DirectoryInfoAnalyzer: BaseFileSystemNodeAnalyzer
3941 Category ,
4042 DiagnosticSeverity . Warning ,
4143 true ,
42- Description ) ;
44+ Description ,
45+ Link ) ;
4346
4447 /// <inheritdoc />
4548 public override ImmutableArray < DiagnosticDescriptor > SupportedDiagnostics => ImmutableArray . Create ( Rule ) ;
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ public class FileAnalyzer : BaseFileSystemNodeAnalyzer
3030 /// </summary>
3131 private const string Description = Title ;
3232
33+ private const string Link = "http://bit.ly/2ODMgdq" ;
34+
3335 /// <summary>
3436 /// Правило
3537 /// </summary>
@@ -39,7 +41,8 @@ public class FileAnalyzer : BaseFileSystemNodeAnalyzer
3941 Category ,
4042 DiagnosticSeverity . Warning ,
4143 true ,
42- Description ) ;
44+ Description ,
45+ Link ) ;
4346
4447 /// <inheritdoc />
4548 public override ImmutableArray < DiagnosticDescriptor > SupportedDiagnostics => ImmutableArray . Create ( Rule ) ;
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ public class FileInfoAnalyzer : BaseFileSystemNodeAnalyzer
3030 /// </summary>
3131 private const string Description = Title ;
3232
33+ private const string Link = "http://bit.ly/2OAA4tM" ;
34+
3335 /// <summary>
3436 /// Правило
3537 /// </summary>
@@ -39,7 +41,8 @@ public class FileInfoAnalyzer : BaseFileSystemNodeAnalyzer
3941 Category ,
4042 DiagnosticSeverity . Warning ,
4143 true ,
42- Description ) ;
44+ Description ,
45+ Link ) ;
4346
4447 /// <inheritdoc />
4548 public override ImmutableArray < DiagnosticDescriptor > SupportedDiagnostics => ImmutableArray . Create ( Rule ) ;
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ public class FileStreamAnalyzer : BaseFileSystemNodeAnalyzer
3030 /// </summary>
3131 private const string Description = Title ;
3232
33+ private const string Link = "http://bit.ly/2Oz5MaM" ;
34+
3335 /// <summary>
3436 /// Правило
3537 /// </summary>
@@ -39,7 +41,8 @@ public class FileStreamAnalyzer : BaseFileSystemNodeAnalyzer
3941 Category ,
4042 DiagnosticSeverity . Warning ,
4143 true ,
42- Description ) ;
44+ Description ,
45+ Link ) ;
4346
4447 /// <inheritdoc />
4548 public override ImmutableArray < DiagnosticDescriptor > SupportedDiagnostics => ImmutableArray . Create ( Rule ) ;
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ public class PathAnalyzer : BaseFileSystemNodeAnalyzer
3030 /// </summary>
3131 private const string Description = Title ;
3232
33+ private const string Link = "http://bit.ly/2ODMkKc" ;
34+
3335 /// <summary>
3436 /// Правило
3537 /// </summary>
@@ -39,7 +41,8 @@ public class PathAnalyzer : BaseFileSystemNodeAnalyzer
3941 Category ,
4042 DiagnosticSeverity . Warning ,
4143 true ,
42- Description ) ;
44+ Description ,
45+ Link ) ;
4346
4447 /// <inheritdoc />
4548 public override ImmutableArray < DiagnosticDescriptor > SupportedDiagnostics => ImmutableArray . Create ( Rule ) ;
You can’t perform that action at this time.
0 commit comments