2 references to WithInitializedDirectives
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Syntax\SyntaxTreeTests.cs (2)
89
SyntaxTreeFactoryKind.ParsedTreeWithPath =>
WithInitializedDirectives
(CSharpSyntaxTree.Create(root, options: parseOptions, path: "old path", Encoding.UTF8)).WithFilePath("new path"),
90
SyntaxTreeFactoryKind.ParsedTreeWithRootAndOptions =>
WithInitializedDirectives
(SyntaxFactory.ParseSyntaxTree("", options: parseOptions)).WithRootAndOptions(root, parseOptions),