1 write to _project
Microsoft.CodeAnalysis.Remote.Razor (1)
ProjectSystem\RemoteProjectSnapshot.cs (1)
35
_project
= project;
19 references to _project
Microsoft.CodeAnalysis.Remote.Razor (19)
ProjectSystem\RemoteProjectSnapshot.cs (19)
40
=>
_project
.AdditionalDocuments
44
public string FilePath =>
_project
.FilePath.AssumeNotNull();
46
public string IntermediateOutputPath => FilePathNormalizer.GetNormalizedDirectoryName(
_project
.CompilationOutputInfo.AssemblyPath);
48
public string DisplayName =>
_project
.Name;
50
public Project Project =>
_project
;
54
var generatorResult = await GeneratorRunResult.CreateAsync(throwIfNotFound: false,
_project
, cancellationToken).ConfigureAwait(false);
63
if (document.Project !=
_project
)
97
var documentIds =
_project
.Solution.GetDocumentIdsWithFilePath(filePath);
101
if (
_project
.Id == documentId.ProjectId &&
102
_project
.ContainsAdditionalDocument(documentId))
118
var documentIds =
_project
.Solution.GetDocumentIdsWithFilePath(filePath);
122
if (
_project
.Id == documentId.ProjectId &&
123
_project
.GetAdditionalDocument(documentId) is { } doc)
136
var generatorResult = await GeneratorRunResult.CreateAsync(throwIfNotFound: true,
_project
, cancellationToken).ConfigureAwait(false);
145
var generatorResult = await GeneratorRunResult.CreateAsync(throwIfNotFound: true,
_project
, cancellationToken).ConfigureAwait(false);
154
Debug.Assert(identity.DocumentId.ProjectId ==
_project
.Id, "Generated document does not belong to this project.");
162
var generatorResult = await GeneratorRunResult.CreateAsync(throwIfNotFound: false,
_project
, cancellationToken).ConfigureAwait(false);
175
Debug.Assert(identity.DocumentId.ProjectId ==
_project
.Id, "Generated document does not belong to this project.");
178
var generatorResult = await GeneratorRunResult.CreateAsync(throwIfNotFound: false,
_project
, cancellationToken).ConfigureAwait(false);