1 write to _symWriter
Microsoft.CodeAnalysis (1)
NativePdbWriter\PdbWriter.cs (1)
556
_symWriter
= symWriter;
25 references to _symWriter
Microsoft.CodeAnalysis (25)
NativePdbWriter\PdbWriter.cs (25)
55
_symWriter
.WriteTo(stream);
60
_symWriter
?.Dispose();
135
_symWriter
.SetAsyncInfo(
151
_symWriter
.DefineCustomMetadata(blob, methodBody.MethodDefinition);
483
_symWriter
.CloseScope(endInclusive ? topScope.EndOffset - 1 : topScope.EndOffset);
488
_symWriter
.OpenScope(currentScope.StartOffset);
496
_symWriter
.CloseScope(endInclusive ? scope.EndOffset - 1 : scope.EndOffset);
509
_symWriter
.DefineLocalConstant(
522
_symWriter
.DefineLocalVariable(
568
contentId = BlobContentId.FromHash(CryptographicHashProvider.ComputeHash(_hashAlgorithmNameOpt,
_symWriter
.GetUnderlyingData()));
570
_symWriter
.UpdateSignature(contentId.Guid, contentId.Stamp, age: 1);
574
_symWriter
.GetSignature(out Guid guid, out uint stamp, out int age);
581
_symWriter
.Dispose();
588
_symWriter
.SetEntryPoint(entryMethodToken);
628
int documentIndex =
_symWriter
.DefineDocument(
643
_symWriter
.OpenMethod(methodToken);
646
_symWriter
.OpenScope(startOffset: 0);
652
_symWriter
.CloseScope(endOffset: ilLength);
654
_symWriter
.CloseMethod();
661
_symWriter
.UsingNamespace(fullName);
726
_symWriter
.OpenTokensToSourceSpansMap();
733
_symWriter
.MapTokenToSourceSpan(
745
_symWriter
.CloseTokensToSourceSpansMap();
764
_symWriter
.SetSourceLinkData(bytes);
794
_symWriter
.AddCompilerInfo((ushort)fileVersion.Major, (ushort)fileVersion.Minor, (ushort)fileVersion.Build, (ushort)fileVersion.Revision, $"{language} - {versionString}");