30 references to XText
Microsoft.AspNetCore.OpenApi.SourceGenerators (7)
XmlComments\XmlComment.cs (7)
94element.ReplaceWith(new XText(bulletText)); 108element.ReplaceWith(new XText(codeBlockDelimiter + codeText + codeBlockDelimiter)); 126element.ReplaceWith(new XText(paramName)); 141element.ReplaceWith(new XText(paramName)); 155element.ReplaceWith(new XText(paraText)); 200item.ReplaceWith(new XText(type)); 228item.ReplaceWith(new XText($"`{langword}`"));
Microsoft.CodeAnalysis.CSharp (1)
Syntax\SyntaxFactory.cs (1)
1208string encoded = new XText(value).ToString();
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\SyntaxFactory.vb (1)
902Dim encoded As String = New XText(value).ToString()
NuGet.Configuration (5)
Settings\SettingText.cs (1)
91return new XText(Value);
Utility\XElementUtility.cs (4)
98element.AddBeforeSelf(new XText(childIndent)); 104container.Add(new XText(containerIndent)); 115container.Add(new XText(containerIndent + oneIndentLevel)); 125container.Add(new XText(containerIndent));
NuGet.PackageManagement (4)
Utility\XElementExtensions.cs (4)
278container.Add(new XText(containerIndent)); 287container.Add(new XText(containerIndent + oneIndentLevel)); 300element.AddBeforeSelf(new XText(childIndent)); 306container.Add(new XText(containerIndent));
System.Private.Xml.Linq (12)
System\Xml\Linq\XCData.cs (1)
18public XCData(string value) : base(value) { }
System\Xml\Linq\XContainer.cs (7)
75XText t = new XText(s); 550AppendNode(new XText(s)); 579AppendNode(new XText(s)); 607AppendNodeSkipNotify(new XText(s)); 737XText t = new XText(s); 1078newNode = new XText(r.Value); 1194newNode = new XText(await r.GetValueAsync().ConfigureAwait(false));
System\Xml\Linq\XLinq.cs (3)
41InsertNode(new XText(_text)); 71InsertNode(new XText(_text)); 139InsertNode(new XText(_text));
System\Xml\Linq\XNode.cs (1)
481ret = new XText(reader.Value);