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();
163
return
_comment
;
233
if (XmlNames.ElementEquals(localName, XmlNames.ExampleElementName) &&
_comment
.ExampleText == null)
235
_comment
.ExampleText = TrimEachLine(reader.ReadInnerXml());
237
else if (XmlNames.ElementEquals(localName, XmlNames.SummaryElementName) &&
_comment
.SummaryText == null)
239
_comment
.SummaryText = TrimEachLine(reader.ReadInnerXml());
241
else if (XmlNames.ElementEquals(localName, XmlNames.ReturnsElementName) &&
_comment
.ReturnsText == null)
243
_comment
.ReturnsText = TrimEachLine(reader.ReadInnerXml());
245
else if (XmlNames.ElementEquals(localName, XmlNames.ValueElementName) &&
_comment
.ValueText == null)
247
_comment
.ValueText = TrimEachLine(reader.ReadInnerXml());
249
else if (XmlNames.ElementEquals(localName, XmlNames.RemarksElementName) &&
_comment
.RemarksText == null)
251
_comment
.RemarksText = TrimEachLine(reader.ReadInnerXml());
258
if (!string.IsNullOrWhiteSpace(name) && !
_comment
._parameterTexts.ContainsKey(name))
261
_comment
._parameterTexts.Add(name, TrimEachLine(paramText));
269
if (!string.IsNullOrWhiteSpace(name) && !
_comment
._typeParameterTexts.ContainsKey(name))
272
_comment
._typeParameterTexts.Add(name, TrimEachLine(typeParamText));
296
_comment
.CompletionListCref = cref;