3 references to IsGeneratedCode
Microsoft.CodeAnalysis.CodeStyle (3)
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 (1)
241
return GeneratedCodeUtilities.
IsGeneratedCode
(