1 write to BeforeThisLocation
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
CodeGenerationContext.cs (1)
158
BeforeThisLocation
= beforeThisLocation;
7 references to BeforeThisLocation
Microsoft.CodeAnalysis.CodeStyle.Fixes (6)
CodeGenerationContext.cs (4)
34
/// This option is not necessary if <see cref="AfterThisLocation"/> or <see cref="
BeforeThisLocation
"/> are
44
/// If this option is provided, neither <see cref="ContextLocation"/> nor <see cref="
BeforeThisLocation
"/> are
181
=> this.AfterThisLocation ?? this.
BeforeThisLocation
?? this.ContextLocation;
201
var newBeforeThisLocation = beforeThisLocation.HasValue ? beforeThisLocation.Value : this.
BeforeThisLocation
;
CodeGenerationHelpers.cs (2)
219
if (info.Context.
BeforeThisLocation
?.SourceTree is { } beforeSourceTree &&
222
var beforeMember = declarationList.FirstOrDefault(m => m.Span.End >= info.Context.
BeforeThisLocation
.SourceSpan.End);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
CSharpCodeGenerationService.cs (1)
549
if (info.Context.
BeforeThisLocation
!= null)