36 references to CreateVisualBasicCompilation
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\CodeGenTupleTest.cs (2)
6215var vbComp = CreateVisualBasicCompilation(""); 27416var comp = CreateVisualBasicCompilation(source, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard));
Emit\CovariantReturnTests.cs (2)
358CreateVisualBasicCompilation(vbSource, referencedAssemblies: new[] { CorelibraryWithCovariantReturnSupport, csharpReference }) 429var vbCompilation = CreateVisualBasicCompilation(vbSource, compilationOptions: compilationOptions, referencedAssemblies: new[] { CorelibraryWithCovariantReturnSupport, csharpReference })
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9)
Semantics\InlineArrayTests.cs (2)
120var vbComp = CreateVisualBasicCompilation("", referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Net80, null)); 18198var vbComp = CreateVisualBasicCompilation("", referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Net70, null));
Semantics\PatternMatchingTests_ListPatterns.cs (3)
1649var vbCompilation = CreateVisualBasicCompilation(vbSource); 1796var vbCompilation = CreateVisualBasicCompilation(vbSource); 1826var vbCompilation = CreateVisualBasicCompilation(vbSource);
Semantics\RecordTests.cs (4)
10949var compA = CreateVisualBasicCompilation(sourceA); 11021var compA = CreateVisualBasicCompilation(sourceA); 11111var compA = CreateVisualBasicCompilation(sourceA); 26087var vbComp = CreateVisualBasicCompilation("", referencedAssemblies: new[] { compRef });
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
406CreateVisualBasicCompilation(source, compilationOptions: options).VerifyDiagnostics();
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (2)
IOperation\IOperationTests_IIsPatternExpression.cs (2)
1306var vbCompilation = CreateVisualBasicCompilation(vbSource); 1379var vbCompilation = CreateVisualBasicCompilation(vbSource);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\NativeIntegerTests.cs (1)
2430var compA = CreateVisualBasicCompilation(sourceA, referencedAssemblies: Array.Empty<MetadataReference>());
Semantics\NullableReferenceTypesTests.cs (4)
143441var vbComp = CreateVisualBasicCompilation(vbSource); 143475var vbComp = CreateVisualBasicCompilation(vbSource); 143511var vbComp = CreateVisualBasicCompilation(vbSource); 143553var vbComp = CreateVisualBasicCompilation(vbSource);
Semantics\QueryTests.cs (1)
4524var vb = CreateVisualBasicCompilation(@"
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (11)
Compilation\CompilationAPITests.cs (3)
2368var vbComp = CreateVisualBasicCompilation("", referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard)); 3051comp = CreateVisualBasicCompilation(""); 3086comp = CreateVisualBasicCompilation("");
Compilation\UsedAssembliesTests.cs (1)
5227var comp1 = CreateVisualBasicCompilation(source1, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard, new[] { comp0ImageRef }));
SymbolDisplay\SymbolDisplayTests.cs (3)
5014var vbComp = CreateVisualBasicCompilation(@" 7685var comp = CreateVisualBasicCompilation(source).VerifyDiagnostics(); 8481var comp = CreateVisualBasicCompilation(source);
Symbols\CovariantReturnTests.cs (1)
2617var vbComp = CreateVisualBasicCompilation(code: vbSource, referencedAssemblies: csComp.References.Append(csRef));
Symbols\ExtendedPartialMethodsTests.cs (1)
2592var vbComp = CreateVisualBasicCompilation(vb, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.Standard).Add(comp.EmitToImageReference()));
Symbols\PEParameterSymbolTests.cs (1)
61var vbComp = CreateVisualBasicCompilation(@"
Symbols\Source\LocalTests.cs (1)
57var compilation = CreateVisualBasicCompilation(sourceCode);
Microsoft.CodeAnalysis.UnitTests (1)
Symbols\DocumentationCommentIdTests.cs (1)
143var comp = CreateVisualBasicCompilation("""
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Compilation\SuppressAccessibilityChecksTests.vb (2)
19Dim compilationA = CreateVisualBasicCompilation(<![CDATA[ 34Dim compilationB = CreateVisualBasicCompilation(<![CDATA[