1 write to Attributes
Microsoft.CodeAnalysis.Workspaces (1)
65 references to Attributes
Microsoft.CodeAnalysis.Features (8)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Microsoft.CodeAnalysis.Remote.ServiceHub (7)
Microsoft.CodeAnalysis.Workspaces (41)
Workspace\Solution\DocumentState.cs (15)
97=> ParseOptions?.Kind ?? Attributes.SourceCodeKind;
100=> Attributes.IsGenerated;
323Attributes.SyntaxTreeFilePath,
330Attributes,
359newTree = treeFactory.CreateSyntaxTree(Attributes.SyntaxTreeFilePath, options, text: null, existingTree.Encoding, LoadTextOptions.ChecksumAlgorithm, existingRoot);
370Attributes.SyntaxTreeFilePath,
377Attributes.With(sourceCodeKind: options.Kind),
396return WithAttributes(Attributes.With(sourceCodeKind: kind));
401Contract.ThrowIfTrue(ReferenceEquals(newAttributes, Attributes));
404if (newAttributes.SyntaxTreeFilePath != Attributes.SyntaxTreeFilePath)
435Attributes,
470Attributes.SyntaxTreeFilePath,
479Attributes,
516var (text, treeAndVersion) = CreateTreeWithLazyText(newRoot, newTextVersion, newTreeVersion, encoding, LoadTextOptions.ChecksumAlgorithm, Attributes, ParseOptions, syntaxTreeFactory);
521Attributes,
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
Microsoft.VisualStudio.LanguageServices (2)