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)
319
typeof(TDocumentState) == typeof(DocumentState) ? CreateDocument(documentInfo,
ParseOptions
, new LoadTextOptions(ChecksumAlgorithm)) :
805
if (options ==
ParseOptions
)
815
var onlyPreprocessorDirectiveChange =
ParseOptions
!= null &&
816
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)
144
oldGeneratedDocuments.States.All(kvp => kvp.Value.ParseOptions.Equals(this.ProjectState.
ParseOptions
)))
196
ProjectState.
ParseOptions
!,
216
.WithParseOptions(this.ProjectState.
ParseOptions
!)
311
.WithParseOptions(this.ProjectState.
ParseOptions
!);
398
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)
459
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.");