19 references to ParseOptions
Microsoft.CodeAnalysis.Workspaces (19)
FindSymbols\Shared\AbstractSyntaxIndex_Persistence.cs (1)
123
project.
ParseOptions
!,
Workspace\Solution\Project.cs (1)
167
public ParseOptions? ParseOptions => State.
ParseOptions
;
Workspace\Solution\ProjectState.cs (4)
309
typeof(TDocumentState) == typeof(DocumentState) ? CreateDocument(documentInfo,
ParseOptions
, new LoadTextOptions(ChecksumAlgorithm)) :
797
if (options ==
ParseOptions
)
807
var onlyPreprocessorDirectiveChange =
ParseOptions
!= null &&
808
LanguageServices.GetRequiredService<ISyntaxTreeFactoryService>().OptionsDifferOnlyByPreprocessorDirectives(options,
ParseOptions
);
Workspace\Solution\ProjectState_Checksum.cs (1)
38
? ChecksumCache.GetOrCreate(this.
ParseOptions
!, static (options, serializer) => serializer.CreateParseOptionsChecksum(options), serializer)
Workspace\Solution\Solution.cs (2)
934
=> project.
ParseOptions
!= null ? project.
ParseOptions
.Kind : SourceCodeKind.Regular;
Workspace\Solution\SolutionCompilationState.cs (1)
1429
projectState.
ParseOptions
!,
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (5)
146
oldGeneratedDocuments.States.All(kvp => kvp.Value.ParseOptions.Equals(this.ProjectState.
ParseOptions
)))
198
ProjectState.
ParseOptions
!,
218
.WithParseOptions(this.ProjectState.
ParseOptions
!)
313
.WithParseOptions(this.ProjectState.
ParseOptions
!);
400
projectState.
ParseOptions
!,
Workspace\Solution\SolutionCompilationState.TranslationAction_Actions.cs (3)
226
RoslynDebug.AssertNotNull(this.NewProjectState.
ParseOptions
);
227
return generatorDriver.WithUpdatedParseOptions(this.NewProjectState.
ParseOptions
);
367
.WithUpdatedParseOptions(this.NewProjectState.
ParseOptions
!)
Workspace\Solution\StateChecksums.cs (1)
457
var parseOptions = state.
ParseOptions
?? throw new InvalidOperationException("We should not be trying to serialize a project with no parse options; RemoteSupportedLanguages.IsSupported should have filtered it out.");