-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create stronger type to expression compilation tracker internal policy #72673
Conversation
/// Skeleton references should only be created for a compilation if no existing skeleton exists for their | ||
/// project from some point in the past. | ||
/// </summary> | ||
CreateIfAbsent, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: this state will be used in teh followup PR.
src/Workspaces/Core/Portable/Workspace/Solution/SolutionCompilationState.CompilationTracker.cs
Show resolved
Hide resolved
{ | ||
Contract.ThrowIfNull(finalCompilationWithGeneratedDocuments); | ||
|
||
// As a policy, all partial-state projects are said to have incomplete references, since the | ||
// state has no guarantees. | ||
this.CompilationWithoutGeneratedDocuments = compilationWithoutGeneratedDocuments; | ||
HasSuccessfullyLoaded = hasSuccessfullyLoaded && !isFrozen; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes it was. deciding to freeze things doesn't have any impact on our determination if things successfully loaded or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/azp run Roslyn-CI |
Azure Pipelines successfully started running 1 pipeline(s). |
@jasonmalinowski For review when you get back. |
Extracted from #72494.
Allows us to express succintly teh behavior we want in the compilation tracker around running SGs or generating skeleton references.