1 write to BeforeThisLocation
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationContext.cs (1)
154BeforeThisLocation = beforeThisLocation;
6 references to BeforeThisLocation
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 40/// If this option is provided, neither <see cref="ContextLocation"/> nor <see cref="BeforeThisLocation"/> are 177=> this.AfterThisLocation ?? this.BeforeThisLocation ?? this.ContextLocation; 197var newBeforeThisLocation = beforeThisLocation.HasValue ? beforeThisLocation.Value : this.BeforeThisLocation;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (2)
218if (info.Context.BeforeThisLocation?.SourceTree is { } beforeSourceTree && 221var beforeMember = declarationList.FirstOrDefault(m => m.Span.End >= info.Context.BeforeThisLocation.SourceSpan.End);