4 instantiations of DocumentAttributes
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\Solution\DocumentInfo.cs (3)
86new DocumentAttributes( 223return new DocumentAttributes(newId, newName, newFolders, newSourceCodeKind, newFilePath, newIsGenerated, newDesignTimeOnly); 255return new DocumentAttributes(documentId, name, folders, sourceCodeKind, filePath, isGenerated, designTimeOnly);
Workspace\Solution\SourceGeneratedDocumentState.cs (1)
115new DocumentInfo.DocumentAttributes(
37 references to DocumentAttributes
Microsoft.CodeAnalysis.Remote.ServiceHub (3)
Host\RemoteWorkspace.SolutionCreator.cs (3)
460await _assetProvider.GetAssetsAsync<DocumentInfo.DocumentAttributes>( 570var newDocumentInfo = await _assetProvider.GetAssetAsync<DocumentInfo.DocumentAttributes>(
Microsoft.CodeAnalysis.Remote.Workspaces (3)
AbstractAssetProvider.cs (3)
150var attributesTask = this.GetAssetsAsync<DocumentInfo.DocumentAttributes>( 166var attributes = await GetAssetAsync<DocumentInfo.DocumentAttributes>(new(AssetPathKind.DocumentAttributes, documentId), attributeChecksum, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (29)
Serialization\SerializationExtensions.cs (1)
23DocumentInfo.DocumentAttributes => WellKnownSynchronizationKind.DocumentAttributes,
Serialization\SerializerService.cs (2)
103((DocumentInfo.DocumentAttributes)value).WriteTo(writer); 248WellKnownSynchronizationKind.DocumentAttributes => DocumentInfo.DocumentAttributes.ReadFrom(reader),
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)
40DocumentInfo.DocumentAttributes attributes, 399protected override TextDocumentState UpdateAttributes(DocumentInfo.DocumentAttributes newAttributes) 441public new DocumentState WithAttributes(DocumentInfo.DocumentAttributes newAttributes) 534DocumentInfo.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)
961Func<DocumentInfo.DocumentAttributes, TArg, DocumentInfo.DocumentAttributes> updateAttributes)
Workspace\Solution\SourceGeneratedDocumentState.cs (2)
136DocumentInfo.DocumentAttributes attributes, 162protected 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)
1140var oldAttributes = oldSolution.GetDocument(documentId)!.State.Attributes;
Roslyn.VisualStudio.Next.UnitTests (2)
Remote\SerializationValidator.cs (2)
184var info = await VerifyAssetSerializationAsync<DocumentInfo.DocumentAttributes>(