1 write to _generateTypeOptionsResult
Microsoft.CodeAnalysis.Features (1)
GenerateType\AbstractGenerateTypeService.Editor.cs (1)
76
_generateTypeOptionsResult
= generateTypeOptionsResult;
19 references to _generateTypeOptionsResult
Microsoft.CodeAnalysis.Features (19)
GenerateType\AbstractGenerateTypeService.Editor.cs (19)
124
var namedType = await GenerateNamedTypeAsync(
_generateTypeOptionsResult
).ConfigureAwait(false);
129
if (_semanticDocument.Project.Language !=
_generateTypeOptionsResult
.Project.Language)
132
_generateTypeOptionsResult
.Project.Language == LanguageNames.CSharp
137
_targetLanguageService =
_generateTypeOptionsResult
.Project.Services.GetService<IGenerateTypeService>();
140
if (
_generateTypeOptionsResult
.IsNewFile)
144
_generateTypeOptionsResult
.NewFileName,
145
_generateTypeOptionsResult
.Folders,
146
_generateTypeOptionsResult
.AreFoldersValidIdentifiers,
147
_generateTypeOptionsResult
.FullFilePath,
148
_generateTypeOptionsResult
.Project,
157
_generateTypeOptionsResult
,
497
? _service.GetRootNamespace(
_generateTypeOptionsResult
.Project.CompilationOptions).Trim()
498
: _targetLanguageService.GetRootNamespace(
_generateTypeOptionsResult
.Project.CompilationOptions).Trim();
500
var defaultNamespace =
_generateTypeOptionsResult
.DefaultNamespace;
506
if ((_semanticDocument.Project ==
_generateTypeOptionsResult
.Project && _semanticDocument.Project.Language == LanguageNames.CSharp) ||
507
(_targetProjectChangeInLanguage == TargetProjectChangeInLanguage.NoChange &&
_generateTypeOptionsResult
.Project.Language == LanguageNames.CSharp) ||
526
if ((_semanticDocument.Project ==
_generateTypeOptionsResult
.Project && _semanticDocument.Project.Language == LanguageNames.VisualBasic) ||
527
(_semanticDocument.Project !=
_generateTypeOptionsResult
.Project && _targetProjectChangeInLanguage == TargetProjectChangeInLanguage.NoChange &&
_generateTypeOptionsResult
.Project.Language == LanguageNames.VisualBasic) ||