2 writes to _ruleSetFile
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\ProjectSystem\ProjectSystemProjectOptionsProcessor.cs (2)
151
_ruleSetFile
= null;
181
_ruleSetFile
= _workspaceServices.GetRequiredService<IRuleSetManager>().GetOrCreateRuleSet(effectiveRuleSetPath);
8 references to _ruleSetFile
Microsoft.CodeAnalysis.Workspaces (8)
Workspace\ProjectSystem\ProjectSystemProjectOptionsProcessor.cs (8)
140
return
_ruleSetFile
?.Target.Value.FilePath;
147
if (
_ruleSetFile
!= null)
149
_ruleSetFile
.Target.Value.UpdatedOnDisk -= RuleSetFile_UpdatedOnDisk;
150
_ruleSetFile
.Dispose();
173
if (
_ruleSetFile
?.Target.Value.FilePath != effectiveRuleSetPath)
182
_ruleSetFile
.Target.Value.UpdatedOnDisk += RuleSetFile_UpdatedOnDisk;
199
compilationOptions = ComputeCompilationOptionsWithHostValues(compilationOptions,
_ruleSetFile
?.Target.Value);
225
if (
_ruleSetFile
?.Target.Value != (IRuleSetFile)sender)