Skip to content

Commit fe84806

Browse files
authored
Merge pull request #60 from tmat/IVT
Make PdbWriter internal
2 parents 115442d + 1d7a06e commit fe84806

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
using System.Runtime.CompilerServices;
2+
3+
[assembly: InternalsVisibleTo("Microsoft.Cci, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293")]
4+

src/Microsoft.DiaSymReader.Converter/PdbConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public void ConvertWindowsToPortable(PEReader peReader, Stream sourcePdbStream,
178178
/// <exception cref="BadImageFormatException">The format of the PE image or the source PDB image is invalid.</exception>
179179
/// <exception cref="InvalidDataException">The PDB doesn't match the CodeView Debug Directory record in the PE image.</exception>
180180
/// <exception cref="IOException">IO error while reading from or writing to a stream.</exception>
181-
public void ConvertPortableToWindows<TDocumentWriter>(PEReader peReader, MetadataReader pdbReader, PdbWriter<TDocumentWriter> pdbWriter, PdbConversionOptions options)
181+
internal void ConvertPortableToWindows<TDocumentWriter>(PEReader peReader, MetadataReader pdbReader, PdbWriter<TDocumentWriter> pdbWriter, PdbConversionOptions options)
182182
{
183183
new PdbConverterPortableToWindows<TDocumentWriter>(_diagnosticReporterOpt).Convert(
184184
peReader ?? throw new ArgumentNullException(nameof(peReader)),

src/Microsoft.DiaSymReader.Converter/SymReader/PdbWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace Microsoft.DiaSymReader
77
{
8-
public abstract class PdbWriter<TDocumentWriter>
8+
internal abstract class PdbWriter<TDocumentWriter>
99
{
1010
public abstract TDocumentWriter DefineDocument(string name, Guid language, Guid vendor, Guid type, Guid algorithmId, byte[] checksum);
1111
public abstract void DefineSequencePoints(TDocumentWriter document, int count, int[] offsets, int[] startLines, int[] startColumns, int[] endLines, int[] endColumns);

0 commit comments

Comments
 (0)