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( 568contentId = 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); 628int 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}");