5 references to WithKind
Microsoft.CodeAnalysis (1)
Compilation\ParseOptions.cs (1)
30
/// the call to the constructor, or modified using the <see cref="
WithKind
(SourceCodeKind)"/> method.
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
DeterministicKeyBuilderTests.cs (1)
421
.
WithKind
(sourceCodeKind)
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\DocumentState.cs (1)
395
return UpdateParseOptionsAndSourceCodeKind(ParseOptions.
WithKind
(kind), onlyPreprocessorDirectiveChange: false);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestWorkspace`1.cs (1)
778
var parseOptions = syntaxFactory.GetDefaultParseOptions().
WithKind
(SourceCodeKind.Script);
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SolutionTests\SolutionTests.cs (1)
3817
var newOptions = tree.Options.
WithKind
(SourceCodeKind.Script);