-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6917 from dotnet/dev/jaredpar/process
Update AnalyzerBannedSymbols.txt
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
8 changes: 5 additions & 3 deletions
8
src/Microsoft.CodeAnalysis.Analyzers/Core/AnalyzerBannedSymbols.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
T:System.Diagnostics.Process; Analyzers should not inspect or create processes | ||
T:System.Diagnostics.ProcessStartInfo; Analyzers should not inspect or create processes | ||
T:System.Environment; Analyzers should not read their settings directly from environment variables | ||
P:System.Globalization.CultureInfo.CurrentCulture; Analyzers should use the locale given by the compiler command line arguments, not the CurrentCulture | ||
P:System.Globalization.CultureInfo.CurrentUICulture; Analyzers should use the locale given by the compiler command line arguments, not the CurrentUICulture | ||
T:System.IO.File; Do not do file IO in analyzers | ||
T:System.IO.Directory; Do not do file IO in analyzers | ||
M:System.IO.Path.GetTempPath; Do not do file IO in analyzers | ||
T:System.Environment; Analyzers should not read their settings directly from environment variables | ||
T:System.Random; Analyzers should be deterministic | ||
M:System.Reflection.Assembly.Load(System.Byte[]); Analyzers should only load their dependencies via standard runtime mechanisms | ||
M:System.Reflection.Assembly.Load(System.String); Analyzers should only load their dependencies via standard runtime mechanisms | ||
M:System.Reflection.Assembly.Load(System.Reflection.AssemblyName); Analyzers should only load their dependencies via standard runtime mechanisms | ||
M:System.Reflection.Assembly.Load(System.Byte[],System.Byte[]); Analyzers should only load their dependencies via standard runtime mechanisms | ||
P:System.Globalization.CultureInfo.CurrentCulture; Analyzers should use the locale given by the compiler command line arguments, not the CurrentCulture | ||
P:System.Globalization.CultureInfo.CurrentUICulture; Analyzers should use the locale given by the compiler command line arguments, not the CurrentUICulture | ||
T:Microsoft.CodeAnalysis.GeneratorInitializationContext; Non-incremental source generators should not be used, implement IIncrementalGenerator instead | ||
T:Microsoft.CodeAnalysis.GeneratorExecutionContext; Non-incremental source generators should not be used, implement IIncrementalGenerator instead |