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))
125
private static ImmutableArray<(SyntaxTree Tree,
SourceGeneratorSyntaxTreeInfo
Info)> GetSourceGeneratorInfo(
133
var
info = tree.GetSourceGeneratorInfo(syntaxHelper, cancellationToken);
134
if ((info &
SourceGeneratorSyntaxTreeInfo
.ContainsGlobalAliasesOrAttributeList) != 0)
138
var builder = ImmutableArray.CreateBuilder<(SyntaxTree Tree,
SourceGeneratorSyntaxTreeInfo
Info)>(count);
143
var
info = tree.GetSourceGeneratorInfo(syntaxHelper, cancellationToken);
144
if ((info &
SourceGeneratorSyntaxTreeInfo
.ContainsGlobalAliasesOrAttributeList) != 0)
Syntax\SyntaxTree.cs (8)
110
private
SourceGeneratorSyntaxTreeInfo
_sourceGeneratorInfo =
SourceGeneratorSyntaxTreeInfo
.NotComputedYet;
424
internal
SourceGeneratorSyntaxTreeInfo
GetSourceGeneratorInfo(
427
if (_sourceGeneratorInfo is
SourceGeneratorSyntaxTreeInfo
.NotComputedYet)
431
var
result =
SourceGeneratorSyntaxTreeInfo
.None;
434
result |=
SourceGeneratorSyntaxTreeInfo
.ContainsGlobalAliases;
437
result |=
SourceGeneratorSyntaxTreeInfo
.ContainsAttributeList;