5 references to GeneratedCodeUtilities
Microsoft.CodeAnalysis (5)
Compilation\SyntaxTreeOptionsProvider.cs (1)
41IsGenerated = GeneratedCodeUtilities.GetGeneratedCodeKindFromOptions(r.AnalyzerOptions);
DiagnosticAnalyzer\AnalyzerDriver.cs (4)
378_isGeneratedCode = (tree, ct) => GeneratedCodeUtilities.IsGeneratedCode(tree, isComment, ct); 1336GeneratedCodeUtilities.IsGeneratedSymbolWithGeneratedCodeAttribute(symbol, generatedCodeAttribute)) 2280if (_lazyGeneratedCodeAttribute != null && GeneratedCodeUtilities.IsGeneratedSymbolWithGeneratedCodeAttribute(symbol, _lazyGeneratedCodeAttribute)) 2316return GeneratedCodeUtilities.GetGeneratedCodeKindFromOptions(options).ToNullable() ??