10 instantiations of CSharpTestSource
Microsoft.CodeAnalysis.CSharp.Test.Utilities (10)
104 references to CSharpTestSource
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (7)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (9)
Attributes\AttributeTests_NullablePublicOnly.cs (7)
33CSharpTestSource sources = new[] { NullablePublicOnlyAttributeDefinition, source };
218CSharpTestSource sources = new[] { NullableAttributeDefinition, NullableContextAttributeDefinition, source };
272CSharpTestSource sources = new[] { NullableAttributeDefinition, NullableContextAttributeDefinition, NullablePublicOnlyAttributeDefinition, source };
292CSharpTestSource sources = new[] { NullableAttributeDefinition, NullableContextAttributeDefinition, NullablePublicOnlyAttributeDefinition, source };
311CSharpTestSource sources = new[] { NullableAttributeDefinition, NullableContextAttributeDefinition, source };
331CSharpTestSource sources = new[] { NullableAttributeDefinition, NullableContextAttributeDefinition, source };
378CSharpTestSource sources = new[] { NullableAttributeDefinition, NullableContextAttributeDefinition, NullablePublicOnlyAttributeDefinition, source };
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (17)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (50)
CSharpTestBase.cs (38)
714CSharpTestSource source,
750CSharpTestSource source,
786CSharpTestSource source,
828CSharpTestSource source,
864CSharpTestSource source,
900CSharpTestSource source,
979internal CompilationVerifier CompileAndVerifyFieldMarshal(CSharpTestSource source, Dictionary<string, byte[]> expectedBlobs, bool isField = true) =>
989internal CompilationVerifier CompileAndVerifyFieldMarshal(CSharpTestSource source, Func<string, PEAssembly, byte[]> getExpectedBlob, bool isField = true) =>
998=> CSharpTestSource.Parse(text, filename, options, encoding, checksumAlgorithm);
1034CSharpTestSource source,
1043CSharpTestSource source,
1057CSharpTestSource source,
1065CSharpTestSource source,
1083CSharpTestSource source,
1091CSharpTestSource source,
1101CSharpTestSource source,
1109CSharpTestSource source,
1117CSharpTestSource source,
1133CSharpTestSource source,
1141CSharpTestSource source,
1154CSharpTestSource source,
1183CSharpTestSource source,
1196CSharpTestSource source,
1206CSharpTestSource source,
1355CSharpTestSource? source,
1360var trees = (source ?? CSharpTestSource.None).GetSyntaxTrees(parseOptions);
1968CSharpTestSource testSrc,
2019CSharpTestSource testSrc,
2054CSharpTestSource testSrc,
2074CSharpTestSource testSrc,
2112CSharpTestSource testSrc,
2132CSharpTestSource testSrc,
2170protected static CSharpCompilation CreateCompilationWithSpan(CSharpTestSource tree, CSharpCompilationOptions options = null, CSharpParseOptions parseOptions = null)
2187protected static CSharpCompilation CreateCompilationWithMscorlibAndSpan(CSharpTestSource text, CSharpCompilationOptions options = null, CSharpParseOptions parseOptions = null)
2502protected static CSharpCompilation CreateCompilationWithIndex(CSharpTestSource text, CSharpCompilationOptions options = null, CSharpParseOptions parseOptions = null)
2513protected static CSharpCompilation CreateCompilationWithIndexAndRange(CSharpTestSource text, CSharpCompilationOptions options = null, CSharpParseOptions parseOptions = null)
2524protected static CSharpCompilation CreateCompilationWithIndexAndRangeAndSpan(CSharpTestSource text, CSharpCompilationOptions options = null, CSharpParseOptions parseOptions = null)
2535protected static CSharpCompilation CreateCompilationWithSpanAndMemoryExtensions(CSharpTestSource text, CSharpCompilationOptions options = null, CSharpParseOptions parseOptions = null, TargetFramework targetFramework = TargetFramework.NetCoreApp)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
Microsoft.CodeAnalysis.UnitTests (9)
VBCSCompiler.UnitTests (3)