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)
111private SourceGeneratorSyntaxTreeInfo _sourceGeneratorInfo = SourceGeneratorSyntaxTreeInfo.NotComputedYet; 425internal SourceGeneratorSyntaxTreeInfo GetSourceGeneratorInfo( 428if (_sourceGeneratorInfo is SourceGeneratorSyntaxTreeInfo.NotComputedYet) 432var result = SourceGeneratorSyntaxTreeInfo.None; 435result |= SourceGeneratorSyntaxTreeInfo.ContainsGlobalAliases; 438result |= SourceGeneratorSyntaxTreeInfo.ContainsAttributeList;