1 write to AfterThisLocation
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationContext.cs (1)
153AfterThisLocation = afterThisLocation;
6 references to AfterThisLocation
Microsoft.CodeAnalysis.CodeStyle.Fixes (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; 196var newAfterThisLocation = afterThisLocation.HasValue ? afterThisLocation.Value : this.AfterThisLocation;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (2)
202if (info.Context.AfterThisLocation?.SourceTree is { } afterSourceTree && 205var afterMember = declarationList.LastOrDefault(m => m.SpanStart <= info.Context.AfterThisLocation.SourceSpan.Start);