16 references to SourceGeneratorSyntaxTreeInfo
Microsoft.CodeAnalysis (16)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (8)
71.Where((info, _) => info.Info.HasFlag(SourceGeneratorSyntaxTreeInfo.ContainsGlobalAliases)) 104.Where((info, _) => info.Info.HasFlag(SourceGeneratorSyntaxTreeInfo.ContainsAttributeList)) 126private static ImmutableArray<(SyntaxTree Tree, SourceGeneratorSyntaxTreeInfo Info)> GetSourceGeneratorInfo( 134var info = tree.GetSourceGeneratorInfo(syntaxHelper, cancellationToken); 135if ((info & SourceGeneratorSyntaxTreeInfo.ContainsGlobalAliasesOrAttributeList) != 0) 139var builder = ImmutableArray.CreateBuilder<(SyntaxTree Tree, SourceGeneratorSyntaxTreeInfo Info)>(count); 144var info = tree.GetSourceGeneratorInfo(syntaxHelper, cancellationToken); 145if ((info & SourceGeneratorSyntaxTreeInfo.ContainsGlobalAliasesOrAttributeList) != 0)
Syntax\SyntaxTree.cs (8)
110private SourceGeneratorSyntaxTreeInfo _sourceGeneratorInfo = SourceGeneratorSyntaxTreeInfo.NotComputedYet; 410internal SourceGeneratorSyntaxTreeInfo GetSourceGeneratorInfo( 413if (_sourceGeneratorInfo is SourceGeneratorSyntaxTreeInfo.NotComputedYet) 417var result = SourceGeneratorSyntaxTreeInfo.None; 420result |= SourceGeneratorSyntaxTreeInfo.ContainsGlobalAliases; 423result |= SourceGeneratorSyntaxTreeInfo.ContainsAttributeList;