1 write to AfterThisLocation
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationContext.cs (1)
153
AfterThisLocation
= afterThisLocation;
6 references to AfterThisLocation
Microsoft.CodeAnalysis.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationContext.cs (4)
30
/// This option is not necessary if <see cref="
AfterThisLocation
"/> or <see cref="BeforeThisLocation"/> are
50
/// If this option is provided, neither <see cref="ContextLocation"/> nor <see cref="
AfterThisLocation
"/> are
177
=> this.
AfterThisLocation
?? this.BeforeThisLocation ?? this.ContextLocation;
196
var newAfterThisLocation = afterThisLocation.HasValue ? afterThisLocation.Value : this.
AfterThisLocation
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (2)
202
if (info.Context.
AfterThisLocation
?.SourceTree is { } afterSourceTree &&
205
var afterMember = declarationList.LastOrDefault(m => m.SpanStart <= info.Context.
AfterThisLocation
.SourceSpan.Start);