16 references to SourceGeneratorSyntaxTreeInfo
Microsoft.CodeAnalysis (16)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (8)
71.Where(static (info, _) => info.Info.HasFlag(SourceGeneratorSyntaxTreeInfo.ContainsGlobalAliases)) 103.Where(static (info, _) => info.Info.HasFlag(SourceGeneratorSyntaxTreeInfo.ContainsAttributeList)) 125private static ImmutableArray<(SyntaxTree Tree, SourceGeneratorSyntaxTreeInfo Info)> GetSourceGeneratorInfo( 133var info = tree.GetSourceGeneratorInfo(syntaxHelper, cancellationToken); 134if ((info & SourceGeneratorSyntaxTreeInfo.ContainsGlobalAliasesOrAttributeList) != 0) 138var builder = ImmutableArray.CreateBuilder<(SyntaxTree Tree, SourceGeneratorSyntaxTreeInfo Info)>(count); 143var info = tree.GetSourceGeneratorInfo(syntaxHelper, cancellationToken); 144if ((info & SourceGeneratorSyntaxTreeInfo.ContainsGlobalAliasesOrAttributeList) != 0)
Syntax\SyntaxTree.cs (8)
110private SourceGeneratorSyntaxTreeInfo _sourceGeneratorInfo = SourceGeneratorSyntaxTreeInfo.NotComputedYet; 424internal SourceGeneratorSyntaxTreeInfo GetSourceGeneratorInfo( 427if (_sourceGeneratorInfo is SourceGeneratorSyntaxTreeInfo.NotComputedYet) 431var result = SourceGeneratorSyntaxTreeInfo.None; 434result |= SourceGeneratorSyntaxTreeInfo.ContainsGlobalAliases; 437result |= SourceGeneratorSyntaxTreeInfo.ContainsAttributeList;