2 writes to Builder
Microsoft.CodeAnalysis.CSharp.Features (2)
FileLevelDirectiveHelpers.cs (2)
604public static DiagnosticBag Collect(out ImmutableArray<SimpleDiagnostic>.Builder builder) => new() { Builder = builder = ImmutableArray.CreateBuilder<SimpleDiagnostic>() }; 605public static DiagnosticBag Ignore() => new() { IgnoreDiagnostics = true, Builder = null };
2 references to Builder
Microsoft.CodeAnalysis.CSharp.Features (2)
FileLevelDirectiveHelpers.cs (2)
609if (Builder != null) 612Builder.Add(new SimpleDiagnostic { Location = new SimpleDiagnostic.Position() { Path = sourceFile.Path, TextSpan = textSpan, Span = sourceFile.GetFileLinePositionSpan(textSpan).Span }, Message = message });