4 references to GeneratedCodeUtilities
Microsoft.CodeAnalysis.CodeStyle (4)
src\Analyzers\Core\Analyzers\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsDiagnosticAnalyzer.cs (2)
102
var descriptor =
GeneratedCodeUtilities
.IsGeneratedCode(tree, IsRegularCommentOrDocComment, cancellationToken)
129
var tree = compilation.SyntaxTrees.FirstOrDefault(tree => !
GeneratedCodeUtilities
.IsGeneratedCode(tree, IsRegularCommentOrDocComment, context.CancellationToken));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTreeExtensions.cs (2)
233
var isUserConfiguredGeneratedCode =
GeneratedCodeUtilities
.GetGeneratedCodeKindFromOptions(analyzerConfigOptions).ToNullable();
241
return
GeneratedCodeUtilities
.IsGeneratedCode(