1 write to _comment
Microsoft.CodeAnalysis.Workspaces (1)
Shared\Utilities\DocumentationComment.cs (1)
147=> _comment = new DocumentationComment(xml);
20 references to _comment
Microsoft.CodeAnalysis.Workspaces (20)
Shared\Utilities\DocumentationComment.cs (20)
157_comment._exceptionTexts.Add(typeAndBuilderPair.Key, typeAndBuilderPair.Value.AsImmutable()); 161_comment.ParameterNames = _parameterNamesBuilder == null ? ImmutableArray<string>.Empty : _parameterNamesBuilder.ToImmutable(); 162_comment.TypeParameterNames = _typeParameterNamesBuilder == null ? ImmutableArray<string>.Empty : _typeParameterNamesBuilder.ToImmutable(); 163_comment.ExceptionTypes = _exceptionTypesBuilder == null ? ImmutableArray<string>.Empty : _exceptionTypesBuilder.ToImmutable(); 165return _comment; 235if (XmlNames.ElementEquals(localName, XmlNames.ExampleElementName) && _comment.ExampleText == null) 237_comment.ExampleText = TrimEachLine(reader.ReadInnerXml()); 239else if (XmlNames.ElementEquals(localName, XmlNames.SummaryElementName) && _comment.SummaryText == null) 241_comment.SummaryText = TrimEachLine(reader.ReadInnerXml()); 243else if (XmlNames.ElementEquals(localName, XmlNames.ReturnsElementName) && _comment.ReturnsText == null) 245_comment.ReturnsText = TrimEachLine(reader.ReadInnerXml()); 247else if (XmlNames.ElementEquals(localName, XmlNames.ValueElementName) && _comment.ValueText == null) 249_comment.ValueText = TrimEachLine(reader.ReadInnerXml()); 251else if (XmlNames.ElementEquals(localName, XmlNames.RemarksElementName) && _comment.RemarksText == null) 253_comment.RemarksText = TrimEachLine(reader.ReadInnerXml()); 260if (!string.IsNullOrWhiteSpace(name) && !_comment._parameterTexts.ContainsKey(name)) 263_comment._parameterTexts.Add(name, TrimEachLine(paramText)); 271if (!string.IsNullOrWhiteSpace(name) && !_comment._typeParameterTexts.ContainsKey(name)) 274_comment._typeParameterTexts.Add(name, TrimEachLine(typeParamText)); 298_comment.CompletionListCref = cref;