1 write to _comment
Microsoft.CodeAnalysis.Workspaces (1)
Shared\Utilities\DocumentationComment.cs (1)
145=> _comment = new DocumentationComment(xml);
20 references to _comment
Microsoft.CodeAnalysis.Workspaces (20)
Shared\Utilities\DocumentationComment.cs (20)
155_comment._exceptionTexts.Add(typeAndBuilderPair.Key, typeAndBuilderPair.Value.AsImmutable()); 159_comment.ParameterNames = _parameterNamesBuilder == null ? [] : _parameterNamesBuilder.ToImmutable(); 160_comment.TypeParameterNames = _typeParameterNamesBuilder == null ? [] : _typeParameterNamesBuilder.ToImmutable(); 161_comment.ExceptionTypes = _exceptionTypesBuilder == null ? [] : _exceptionTypesBuilder.ToImmutable(); 163return _comment; 233if (XmlNames.ElementEquals(localName, XmlNames.ExampleElementName) && _comment.ExampleText == null) 235_comment.ExampleText = TrimEachLine(reader.ReadInnerXml()); 237else if (XmlNames.ElementEquals(localName, XmlNames.SummaryElementName) && _comment.SummaryText == null) 239_comment.SummaryText = TrimEachLine(reader.ReadInnerXml()); 241else if (XmlNames.ElementEquals(localName, XmlNames.ReturnsElementName) && _comment.ReturnsText == null) 243_comment.ReturnsText = TrimEachLine(reader.ReadInnerXml()); 245else if (XmlNames.ElementEquals(localName, XmlNames.ValueElementName) && _comment.ValueText == null) 247_comment.ValueText = TrimEachLine(reader.ReadInnerXml()); 249else if (XmlNames.ElementEquals(localName, XmlNames.RemarksElementName) && _comment.RemarksText == null) 251_comment.RemarksText = TrimEachLine(reader.ReadInnerXml()); 258if (!string.IsNullOrWhiteSpace(name) && !_comment._parameterTexts.ContainsKey(name)) 261_comment._parameterTexts.Add(name, TrimEachLine(paramText)); 269if (!string.IsNullOrWhiteSpace(name) && !_comment._typeParameterTexts.ContainsKey(name)) 272_comment._typeParameterTexts.Add(name, TrimEachLine(typeParamText)); 296_comment.CompletionListCref = cref;