14 instantiations of XCData
Microsoft.CodeAnalysis.Test.Utilities (1)
InstrumentationChecker.cs (1)
162public XCData ExpectedOutput { get { return new XCData(_consoleExpectations.ToString()); } }
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
CodeGen\AnonymousTypesCodeGenTests.vb (1)
621New XCData(<![CDATA[
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Semantics\BinaryOperators.vb (1)
968<%= New System.Xml.Linq.XCData(builder.ToString()) %>
Semantics\UnaryOperators.vb (1)
656<%= New System.Xml.Linq.XCData(builder.ToString()) %>
Microsoft.DotNet.Build.Tasks.Installers (1)
src\GenerateMacOSDistributionFile.cs (1)
62var scriptElement = new XElement("script", new XCData(archScriptContent));
Microsoft.VisualStudio.LanguageServices (1)
Snippets\SnippetExpansionClient.cs (1)
702new XCData(template.ToString()))))));
System.Private.Xml.Linq (8)
System\Xml\Linq\XCData.cs (1)
78return new XCData(this);
System\Xml\Linq\XContainer.cs (4)
932_currentContainer.AddNodeSkipNotify(new XCData(r.Value)); 988_currentContainer.AddNodeSkipNotify(new XCData(await r.GetValueAsync().ConfigureAwait(false))); 1086newNode = new XCData(r.Value); 1202newNode = new XCData(await r.GetValueAsync().ConfigureAwait(false));
System\Xml\Linq\XNode.cs (2)
438return new XCData(reader); 487ret = new XCData(reader.Value);
System\Xml\Linq\XNodeBuilder.cs (1)
66AddNode(new XCData(text!));
61 references to XCData
Microsoft.CodeAnalysis.Test.Utilities (9)
CommonTestBase.cs (4)
261XCData code, 272XCData code, 288XCData code, 299XCData code,
CompilationVerifier.cs (1)
506XCData expectedIL,
InstrumentationChecker.cs (1)
162public XCData ExpectedOutput { get { return new XCData(_consoleExpectations.ToString()); } }
TestBase.cs (1)
348XCData squiggledText,
TestHelpers.cs (2)
124XCData squiggledText, 141public static string NormalizeNewLines(XCData data)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (21)
Emit\DynamicAnalysis\DynamicInstrumentationTests.vb (17)
128Dim expectedOutput As XCData = <![CDATA[ 208Dim expectedOutput As XCData = <![CDATA[ 288Dim expectedOutput As XCData = <![CDATA[null 423Dim expectedOutput As XCData = <![CDATA[OK 497Dim expectedOutput As XCData = <![CDATA[1 675Dim expectedOutput As XCData = <![CDATA[GooGooGlueGooGoo 965Dim expectedOutput As XCData = <![CDATA[ 1082Dim expectedOutput As XCData = <![CDATA[ 1165Dim expectedOutput As XCData = <![CDATA[ 1238Dim expectedOutput As XCData = <![CDATA[ 1321Dim expectedOutput As XCData = <![CDATA[ 1404Dim expectedOutput As XCData = <![CDATA[ 1495Dim expectedOutput As XCData = <![CDATA[ 1592Dim expectedOutput As XCData = <![CDATA[ 1692Dim expectedOutput As XCData = <![CDATA[ 1812Dim expectedOutput As XCData = <![CDATA[ 2814Private Overloads Function CompileAndVerify(source As XElement, Optional expectedOutput As XCData = Nothing, Optional options As VisualBasicCompilationOptions = Nothing) As CompilationVerifier
ExpressionTrees\CodeGenExprLambda.vb (3)
1908Private Sub TestExpressionTrees(sourceFile As XElement, result As XCData, 1921Public Prefix As XCData 1988Private Shared ReadOnly s_enumDeclarations As XCData = <![CDATA[
PDB\ChecksumTests.vb (1)
18Private Shared Function CreateCompilationWithChecksums(source As XCData, filePath As String, baseDirectory As String) As VisualBasicCompilation
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (10)
Binding\ImplicitVariableTests.vb (4)
1219Friend Shared Function GetSourceXElementFromTemplate(code As XCData) As XElement 1275Private Sub VerifyImplicitDeclarationSemanticInfo(code As XCData) 1283Private Sub VerifyImplicitDeclarationBindExpression(code As XCData, expression As String, expectedTypeName As String, Optional symbolKind? As SymbolKind = Nothing, Optional expectedSymbol As String = Nothing) 1293Private Sub VerifyImplicitDeclarationLookupSymbols(code As XCData, Optional expected() As String = Nothing, Optional notExpected() As String = Nothing)
FlowAnalysis\FlowTestBase.vb (5)
61Protected Function CompileAndAnalyzeControlFlow(program As XElement, Optional ilSource As XCData = Nothing, Optional errors As XElement = Nothing) As ControlFlowAnalysis 65Protected Function CompileAndAnalyzeDataFlow(program As XElement, Optional ilSource As XCData = Nothing, Optional errors As XElement = Nothing) As DataFlowAnalysis 69Protected Function CompileAndAnalyzeControlAndDataFlow(program As XElement, Optional ilSource As XCData = Nothing, Optional errors As XElement = Nothing) As Tuple(Of ControlFlowAnalysis, DataFlowAnalysis) 73Private Function CompileAndGetModelAndSpan(Of T)(program As XElement, analysisDelegate As Func(Of SemanticModel, List(Of VisualBasicSyntaxNode), List(Of VisualBasicSyntaxNode), T), ilSource As XCData, errors As XElement) As T 80Protected Function CompileAndGetModelAndSpan(program As XElement, startNodes As List(Of VisualBasicSyntaxNode), endNodes As List(Of VisualBasicSyntaxNode), ilSource As XCData, errors As XElement, Optional parseOptions As VisualBasicParseOptions = Nothing) As VisualBasicCompilation
Semantics\NameLengthTests.vb (1)
548Private Shared Function Format(sourceTemplate As XCData, ParamArray args As Object()) As String
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
IncrementalParser\IncrementalParser.vb (1)
2593Private Shared Function ToText(code As XCData) As String
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (8)
CompilationTestUtils.vb (3)
356Public Function CreateCompilationWithCustomILSource(sources As XElement, ilSource As XCData) As VisualBasicCompilation 851Public Sub AssertTheseDiagnostics(compilation As Compilation, errs As XCData, Optional suppressInfos As Boolean = True) 876Public Sub AssertTheseDiagnostics(errors As ImmutableArray(Of Diagnostic), errs As XCData, Optional suppressInfos As Boolean = True)
ParserTestUtilities.vb (5)
23Public Function ParseAndVerify(code As XCData, Optional expectedErrors As XElement = Nothing) As SyntaxTree 28Public Function ParseAndVerify(code As XCData, options As VisualBasicParseOptions, Optional expectedErrors As XElement = Nothing) As SyntaxTree 54Public Function ParseAndVerify(code As XCData, ParamArray expectedDiagnostics() As DiagnosticDescription) As SyntaxTree 58Public Function ParseAndVerify(code As XCData, options As VisualBasicParseOptions, ParamArray expectedDiagnostics() As DiagnosticDescription) As SyntaxTree 100Public Function Parse(code As XCData, Optional options As VisualBasicParseOptions = Nothing) As SyntaxTree
netstandard (1)
netstandard.cs (1)
2267[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XCData))]
System.Private.Xml.Linq (9)
System\Xml\Linq\XCData.cs (5)
24public XCData(XCData other) : base(other) { } 43/// Write this <see cref="XCData"/> to the given <see cref="XmlWriter"/>. 46/// The <see cref="XmlWriter"/> to write this <see cref="XCData"/> to. 56/// Write this <see cref="XCData"/> to the given <see cref="XmlWriter"/>. 59/// The <see cref="XmlWriter"/> to write this <see cref="XCData"/> to.
System\Xml\Linq\XContainer.cs (2)
573if (tn != null && !(tn is XCData)) 601if (tn != null && !(tn is XCData))
System\Xml\Linq\XLinq.cs (2)
64if (prevXText != null && !(_previous is XCData)) 133if (prevXText != null && !(_previous is XCData))
System.Xml.Linq (1)
System.Xml.Linq.cs (1)
9[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XCData))]
System.Xml.XDocument (1)
artifacts\obj\System.Xml.XDocument\Debug\net10.0\System.Xml.XDocument.Forwards.cs (1)
8[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XCData))]