1 write to _documentIdentity
Microsoft.VisualStudio.LanguageServices (1)
Workspace\SourceGeneratedFileManager.cs (1)
255_documentIdentity = documentIdentity;
10 references to _documentIdentity
Microsoft.VisualStudio.LanguageServices (10)
Workspace\SourceGeneratedFileManager.cs (10)
284if (_workspace.IsDocumentOpen(_documentIdentity.DocumentId)) 311private string GeneratorDisplayName => _documentIdentity.Generator.TypeName; 317var project = _workspace.CurrentSolution.GetProject(_documentIdentity.DocumentId.ProjectId); 331generatedDocument = await project.GetSourceGeneratedDocumentAsync(_documentIdentity.DocumentId, cancellationToken).ConfigureAwait(false); 341if (project.AnalyzerReferences.Any(a => a.FullPath == _documentIdentity.Generator.AssemblyPath)) 392if (connectToWorkspace && !_workspace.IsDocumentOpen(_documentIdentity.DocumentId)) 416var oldProject = e.OldSolution.GetProject(_documentIdentity.DocumentId.ProjectId); 417var newProject = e.NewSolution.GetProject(_documentIdentity.DocumentId.ProjectId); 450windowFrame.SetProperty((int)__VSFPROPID5.VSFPROPID_OverrideCaption, _documentIdentity.HintName + " " + ServicesVSResources.generated_suffix); 451windowFrame.SetProperty((int)__VSFPROPID5.VSFPROPID_OverrideToolTip, _documentIdentity.HintName + " " + string.Format(ServicesVSResources.generated_by_0_suffix, GeneratorDisplayName));