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