Skip to content

Commit e5959ba

Browse files
authored
Merge pull request #6917 from dotnet/dev/jaredpar/process
Update AnalyzerBannedSymbols.txt
2 parents 3a44721 + f2007ac commit e5959ba

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1+
T:System.Diagnostics.Process; Analyzers should not inspect or create processes
2+
T:System.Diagnostics.ProcessStartInfo; Analyzers should not inspect or create processes
3+
T:System.Environment; Analyzers should not read their settings directly from environment variables
4+
P:System.Globalization.CultureInfo.CurrentCulture; Analyzers should use the locale given by the compiler command line arguments, not the CurrentCulture
5+
P:System.Globalization.CultureInfo.CurrentUICulture; Analyzers should use the locale given by the compiler command line arguments, not the CurrentUICulture
16
T:System.IO.File; Do not do file IO in analyzers
27
T:System.IO.Directory; Do not do file IO in analyzers
38
M:System.IO.Path.GetTempPath; Do not do file IO in analyzers
4-
T:System.Environment; Analyzers should not read their settings directly from environment variables
59
T:System.Random; Analyzers should be deterministic
610
M:System.Reflection.Assembly.Load(System.Byte[]); Analyzers should only load their dependencies via standard runtime mechanisms
711
M:System.Reflection.Assembly.Load(System.String); Analyzers should only load their dependencies via standard runtime mechanisms
812
M:System.Reflection.Assembly.Load(System.Reflection.AssemblyName); Analyzers should only load their dependencies via standard runtime mechanisms
913
M:System.Reflection.Assembly.Load(System.Byte[],System.Byte[]); Analyzers should only load their dependencies via standard runtime mechanisms
10-
P:System.Globalization.CultureInfo.CurrentCulture; Analyzers should use the locale given by the compiler command line arguments, not the CurrentCulture
11-
P:System.Globalization.CultureInfo.CurrentUICulture; Analyzers should use the locale given by the compiler command line arguments, not the CurrentUICulture
1214
T:Microsoft.CodeAnalysis.GeneratorInitializationContext; Non-incremental source generators should not be used, implement IIncrementalGenerator instead
1315
T:Microsoft.CodeAnalysis.GeneratorExecutionContext; Non-incremental source generators should not be used, implement IIncrementalGenerator instead

0 commit comments

Comments
 (0)