1 write to IsGenerated
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\DocumentInfo.cs (1)
204IsGenerated = isGenerated;
16 references to IsGenerated
Microsoft.CodeAnalysis.Features (2)
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionHelper.cs (1)
264if (document.State.Attributes.IsGenerated)
EditAndContinue\CommittedSolution.cs (1)
278isGenerated: document.State.Attributes.IsGenerated)
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
Host\RemoteWorkspace.SolutionCreator.cs (2)
480Contract.ThrowIfFalse(document.State.Attributes.IsGenerated == newDocumentInfo.IsGenerated);
Microsoft.CodeAnalysis.Workspaces (6)
Workspace\Solution\DocumentInfo.cs (4)
53public bool IsGenerated => Attributes.IsGenerated; 222var newIsGenerated = isGenerated.HasValue ? isGenerated.Value : IsGenerated; 230newIsGenerated == IsGenerated && 255writer.WriteBoolean(IsGenerated);
Workspace\Solution\DocumentState.cs (1)
98=> Attributes.IsGenerated;
Workspace\Workspace.cs (1)
1781isGenerated: doc.State.Attributes.IsGenerated)
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
SolutionTests\SolutionTests.cs (4)
1756Assert.False(document.State.Attributes.IsGenerated); 1784Assert.True(document.State.Attributes.IsGenerated); 1813Assert.False(document2.State.Attributes.IsGenerated); 1849Assert.False(document2.State.Attributes.IsGenerated);
Microsoft.VisualStudio.LanguageServices (2)
ProjectSystem\VisualStudioWorkspaceImpl.cs (2)
1251if (document.State.Attributes.IsGenerated != updatedInfo.IsGenerated) 1254$"This Workspace does not support changing a document's {nameof(document.State.Attributes.IsGenerated)} state.");