4 instantiations of DocumentAttributes
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\Solution\DocumentInfo.cs (3)
88new DocumentAttributes( 236return new DocumentAttributes(newId, newName, newFolders, newSourceCodeKind, newFilePath, newIsGenerated, newDesignTimeOnly); 270return new DocumentAttributes(documentId, name, folders, sourceCodeKind, filePath, isGenerated, designTimeOnly);
Workspace\Solution\SourceGeneratedDocumentState.cs (1)
37new DocumentInfo.DocumentAttributes(
28 references to DocumentAttributes
Microsoft.CodeAnalysis.Remote.ServiceHub (5)
Host\RemoteWorkspace.SolutionCreator.cs (5)
474var newDocumentInfo = await _assetProvider.GetAssetAsync<DocumentInfo.DocumentAttributes>(infoChecksum, cancellationToken).ConfigureAwait(false); 512var infos = await assetProvider.GetAssetsAsync<DocumentInfo.DocumentAttributes>(infoChecksums, cancellationToken).ConfigureAwait(false); 518var info = await assetProvider.GetAssetAsync<DocumentInfo.DocumentAttributes>(kv.Item2.Info, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Remote.Workspaces (2)
AbstractAssetProvider.cs (2)
88var attributes = await GetAssetAsync<DocumentInfo.DocumentAttributes>(documentSnapshot.Info, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (19)
Serialization\SerializationExtensions.cs (1)
25DocumentInfo.DocumentAttributes _ => WellKnownSynchronizationKind.DocumentAttributes,
Serialization\SerializerService.cs (1)
190return (T)(object)DocumentInfo.DocumentAttributes.ReadFrom(reader);
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
482var attributes = w.CurrentSolution.GetRequiredDocument(documentId).State.Attributes;
Workspace\Solution\AdditionalDocumentState.cs (1)
19DocumentInfo.DocumentAttributes attributes,
Workspace\Solution\AnalyzerConfigDocumentState.cs (1)
22DocumentInfo.DocumentAttributes attributes,
Workspace\Solution\DocumentInfo.cs (6)
23internal DocumentAttributes Attributes { get; } 68internal DocumentInfo(DocumentAttributes attributes, TextLoader? loader, IDocumentServiceProvider? documentServiceProvider) 101DocumentAttributes? attributes = null, 105var newAttributes = attributes ?? Attributes; 208public DocumentAttributes With( 259public static DocumentAttributes ReadFrom(ObjectReader reader)
Workspace\Solution\DocumentState.cs (4)
39DocumentInfo.DocumentAttributes attributes, 410private DocumentState UpdateAttributes(DocumentInfo.DocumentAttributes attributes) 426var newAttributes = Attributes.With(filePath: filePath); 540DocumentInfo.DocumentAttributes attributes,
Workspace\Solution\SourceGeneratedDocumentState.cs (1)
55DocumentInfo.DocumentAttributes attributes,
Workspace\Solution\TextDocumentState.cs (2)
28public DocumentInfo.DocumentAttributes Attributes { get; } 38DocumentInfo.DocumentAttributes attributes,
Workspace\Workspace.cs (1)
889var oldAttributes = oldSolution.GetDocument(documentId)!.State.Attributes;
Roslyn.VisualStudio.Next.UnitTests (2)
Remote\SerializationValidator.cs (2)
184var info = await VerifyAssetSerializationAsync<DocumentInfo.DocumentAttributes>(