28 references to DocumentAttributes
Microsoft.CodeAnalysis.Workspaces (28)
Serialization\SerializationExtensions.cs (1)
23DocumentInfo.DocumentAttributes => WellKnownSynchronizationKind.DocumentAttributes,
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
484var attributes = w.CurrentSolution.GetRequiredDocument(documentId).State.Attributes;
Workspace\Solution\AdditionalDocumentState.cs (2)
18DocumentInfo.DocumentAttributes attributes, 34protected override TextDocumentState UpdateAttributes(DocumentInfo.DocumentAttributes newAttributes)
Workspace\Solution\AnalyzerConfigDocumentState.cs (2)
20DocumentInfo.DocumentAttributes attributes, 40protected override TextDocumentState UpdateAttributes(DocumentInfo.DocumentAttributes newAttributes)
Workspace\Solution\DocumentInfo.cs (6)
21internal DocumentAttributes Attributes { get; } 66internal DocumentInfo(DocumentAttributes attributes, TextLoader? loader, IDocumentServiceProvider? documentServiceProvider) 99DocumentAttributes? attributes = null, 103var newAttributes = attributes ?? Attributes; 195public DocumentAttributes With( 244public static DocumentAttributes ReadFrom(ObjectReader reader)
Workspace\Solution\DocumentState.cs (4)
42DocumentInfo.DocumentAttributes attributes, 401protected override TextDocumentState UpdateAttributes(DocumentInfo.DocumentAttributes newAttributes) 443public new DocumentState WithAttributes(DocumentInfo.DocumentAttributes newAttributes) 522DocumentInfo.DocumentAttributes attributes,
Workspace\Solution\DocumentState_LinkedFileReuse.cs (1)
101DocumentInfo.DocumentAttributes attributes,
Workspace\Solution\SolutionCompilationState.cs (2)
775Func<DocumentInfo.DocumentAttributes, TArg, DocumentInfo.DocumentAttributes> updateAttributes)
Workspace\Solution\SolutionState.cs (2)
933Func<DocumentInfo.DocumentAttributes, TArg, DocumentInfo.DocumentAttributes> updateAttributes)
Workspace\Solution\SourceGeneratedDocumentState.cs (2)
104DocumentInfo.DocumentAttributes attributes, 130protected override TextDocumentState UpdateAttributes(DocumentInfo.DocumentAttributes newAttributes)
Workspace\Solution\TextDocumentState.cs (4)
20public readonly DocumentInfo.DocumentAttributes Attributes; 30DocumentInfo.DocumentAttributes attributes, 58public TextDocumentState WithAttributes(DocumentInfo.DocumentAttributes newAttributes) 67protected abstract TextDocumentState UpdateAttributes(DocumentInfo.DocumentAttributes newAttributes);
Workspace\Workspace.cs (1)
1112var oldAttributes = oldSolution.GetDocument(documentId)!.State.Attributes;