266 references to Compilation
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (76)
CodeGen\CodeGenDeconstructTests.cs (11)
253var tree = comp.Compilation.SyntaxTrees.First(); 254var model = comp.Compilation.GetSemanticModel(tree); 259var firstDeconstructMethod = ((CSharpCompilation)comp.Compilation).GetTypeByMetadataName("C").GetMembers(WellKnownMemberNames.DeconstructMethodName) 1109var tree = comp.Compilation.SyntaxTrees.First(); 1110var model = comp.Compilation.GetSemanticModel(tree); 2285var tree = comp.Compilation.SyntaxTrees.First(); 2286var model = comp.Compilation.GetSemanticModel(tree); 7867Assert.True(comp2.Compilation.GetMember<IEventSymbol>("C.E").IsWindowsRuntimeEvent); 7930Assert.True(comp2.Compilation.GetMember<IEventSymbol>("S.E").IsWindowsRuntimeEvent); 8583var compilation = CompileAndVerify(source, expectedOutput: @"C Convert D Convert2 A B").Compilation; 8627var compilation = CompileAndVerify(source, expectedOutput: @"1").Compilation;
CodeGen\CodeGenDynamicTests.cs (1)
311Assert.Equal(1, ((CSharpCompilation)c.Compilation).GlobalNamespace.GetMember<NamespaceSymbol>("System").GetMember<NamedTypeSymbol>("Func`13").Arity);
CodeGen\CodeGenFunctionPointersTests.cs (5)
562var c = ((CSharpCompilation)verifier.Compilation).GetTypeByMetadataName("C"); 3058var comp = (CSharpCompilation)verifier.Compilation; 4913var comp = (CSharpCompilation)verifier.Compilation; 7053var comp = (CSharpCompilation)verifier.Compilation; 12765return ((CSharpCompilation)verifier.Compilation).SourceModule;
CodeGen\CodeGenLocalFunctionTests.cs (15)
2595Assert.Equal(verify.Compilation.GetTypeByMetadataName("Program"), goo.ContainingType); 2611var program = verify.Compilation.GetTypeByMetadataName("Program"); 3133var program = verify.Compilation.GetTypeByMetadataName("Program"); 3204var program = verify.Compilation.GetTypeByMetadataName("Program"); 3250var program = verify.Compilation.GetTypeByMetadataName("Program"); 3276var program = verify.Compilation.GetTypeByMetadataName("Program"); 3309var program = verify.Compilation.GetTypeByMetadataName("Program"); 3397var program = verify.Compilation.GetTypeByMetadataName("Program"); 4241Assert.Equal(verify.Compilation.GetTypeByMetadataName("Program"), goo.ContainingType); 5744var comp = verifier.Compilation; 5819var comp = verifier.Compilation; 5894var comp = verifier.Compilation; 5998var methodParam = ((CSharpCompilation)verifier.Compilation).GetMember<MethodSymbol>("Program.M").Parameters[0]; 6054var methodParam = ((CSharpCompilation)verifier.Compilation).GetMember<MethodSymbol>("Program.M").Parameters[0]; 6111var methodParam = ((CSharpCompilation)verifier.Compilation).GetMember<MethodSymbol>("Program.M").Parameters[0];
CodeGen\CodeGenOperators.cs (2)
5406var tree = result.Compilation.SyntaxTrees.Single(); 5407var model = result.Compilation.GetSemanticModel(tree);
CodeGen\CodeGenOverridingAndHiding.cs (1)
3596var comp = (CSharpCompilation)verifier.Compilation;
CodeGen\CodeGenReadonlyStructTests.cs (1)
2581var type = ((CSharpCompilation)verifier.Compilation).GetMember<NamedTypeSymbol>("S");
CodeGen\CodeGenTupleEqualityTests.cs (6)
358var tree = comp.Compilation.SyntaxTrees.First(); 359var model = comp.Compilation.GetSemanticModel(tree); 679var tree = comp.Compilation.SyntaxTrees.First(); 680var model = comp.Compilation.GetSemanticModel(tree); 710var tree = comp.Compilation.SyntaxTrees.First(); 711var model = comp.Compilation.GetSemanticModel(tree);
CodeGen\CodeGenTupleTest.cs (15)
11025var c = ((CSharpCompilation)comp.Compilation).GetTypeByMetadataName("C"); 11158var tupleType = comp.Compilation.CommonGetWellKnownType(WellKnownType.System_ValueTuple_T2); 11346var c = ((CSharpCompilation)comp.Compilation).GetTypeByMetadataName("C"); 11738var c = ((CSharpCompilation)comp.Compilation).GetTypeByMetadataName("C"); 11886var c = ((CSharpCompilation)comp.Compilation).GetTypeByMetadataName("C"); 12170var c = ((CSharpCompilation)comp.Compilation).GetTypeByMetadataName("C"); 12689var c = (CSharpCompilation)comp.Compilation; 13970var c = (CSharpCompilation)comp.Compilation; 14229var test = comp.Compilation.GetTypeByMetadataName("Test`1"); 14241var c = (CSharpCompilation)comp.Compilation; 15787var c = ((CSharpCompilation)comp.Compilation).GetTypeByMetadataName("C"); 16014var c = ((CSharpCompilation)comp.Compilation).GetTypeByMetadataName("C"); 23448var m = (MethodSymbol)(((CSharpCompilation)comp.Compilation).GetTypeByMetadataName("ConsoleApplication5.C2").GetMembers("Goo").First()); 23504var m = (IMethodSymbol)(comp.Compilation.GetTypeByMetadataName("ConsoleApplication5.C2").GetMembers("Goo").First()); 23903var m = (PropertySymbol)(((CSharpCompilation)comp.Compilation).GetTypeByMetadataName("ConsoleApplication5.C2").GetMembers("Goo").First());
CodeGen\FixedSizeBufferTests.cs (2)
569var comp1 = CompileAndVerify(s1, options: TestOptions.UnsafeReleaseDll, verify: Verification.Passes).Compilation; 574expectedOutput: "12", verify: Verification.Fails).Compilation;
CodeGen\ObjectAndCollectionInitializerTests.cs (2)
1104var comp = compVerifier.Compilation; 3586var comp = verifier.Compilation;
CodeGen\SwitchTests.cs (1)
3039var reference = compVerifier.Compilation.EmitToImageReference();
Emit\DeterministicTests.cs (2)
438var trees = cv.Compilation.SyntaxTrees.ToArray(); 439var comp2 = cv.Compilation.RemoveAllSyntaxTrees().AddSyntaxTrees(trees[1], trees[0], trees[2]);
Emit\DynamicAnalysis\DynamicInstrumentationTests.cs (10)
746checker.CompleteCheck(verifier.Compilation, source); 750checker.CompleteCheck(verifier.Compilation, source); 950checker.CompleteCheck(verifier.Compilation, source); 954checker.CompleteCheck(verifier.Compilation, source); 3170checker.CompleteCheck(verifier.Compilation, source); 3174checker.CompleteCheck(verifier.Compilation, source); 3244checker.CompleteCheck(verifier.Compilation, source); 3248checker.CompleteCheck(verifier.Compilation, source); 3619checker.CompleteCheck(verifier.Compilation, source); 3623checker.CompleteCheck(verifier.Compilation, source);
Emit\InAttributeModifierTests.cs (2)
43verifyParameter(verifier.Compilation); 46verifyParameter(verifier.Compilation);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (22)
Emit\EditAndContinue\EditAndContinueTestBase.cs (1)
246string baseName = baseline.Compilation.AssemblyName;
Emit\UnmanagedTypeModifierTests.cs (21)
660}", references: new[] { reference.Compilation.EmitToImageReference() }, expectedOutput: @" 685}", references: new[] { parent.Compilation.EmitToImageReference() }, symbolValidator: module => 702}", references: new[] { parent.Compilation.EmitToImageReference(), child.Compilation.EmitToImageReference() }, expectedOutput: @" 740}", references: new[] { reference.Compilation.EmitToImageReference() }, expectedOutput: "Child"); 763}", references: new[] { parent.Compilation.EmitToImageReference() }, symbolValidator: module => 779}", references: new[] { parent.Compilation.EmitToImageReference(), child.Compilation.EmitToImageReference() }, expectedOutput: "Child"); 815}", references: new[] { reference.Compilation.EmitToImageReference() }, expectedOutput: "Child"); 838}", references: new[] { parent.Compilation.EmitToImageReference() }, symbolValidator: module => 854}", references: new[] { parent.Compilation.EmitToImageReference(), child.Compilation.EmitToImageReference() }, expectedOutput: "Child"); 890}", references: new[] { reference.Compilation.EmitToImageReference() }, expectedOutput: "Child"); 913}", references: new[] { parent.Compilation.EmitToImageReference() }, symbolValidator: module => 929}", references: new[] { parent.Compilation.EmitToImageReference(), child.Compilation.EmitToImageReference() }, expectedOutput: "Child"); 966}", references: new[] { reference.Compilation.EmitToImageReference() }, expectedOutput: "Child"); 989}", references: new[] { parent.Compilation.EmitToImageReference() }, symbolValidator: module => 1006}", references: new[] { parent.Compilation.EmitToImageReference(), child.Compilation.EmitToImageReference() }, expectedOutput: "Child"); 1086references: new[] { reference.Compilation.EmitToImageReference() },
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (56)
Attributes\AttributeTests_IsByRefLike.cs (1)
473CompileAndVerify(code2, options: options.WithModuleName("Assembly2"), references: new[] { comp1.Compilation.ToMetadataReference() }, symbolValidator: module =>
Attributes\AttributeTests_IsUnmanaged.cs (1)
744CompileAndVerify(code2, options: options.WithModuleName("Assembly2"), references: new[] { comp1.Compilation.ToMetadataReference() }, symbolValidator: module =>
Attributes\AttributeTests_ReadOnlyStruct.cs (1)
465CompileAndVerify(code2, options: options.WithModuleName("Assembly2"), references: new[] { comp1.Compilation.ToMetadataReference() }, symbolValidator: module =>
Attributes\AttributeTests_RefReadOnly.cs (1)
1190CompileAndVerify(code2, options: options.WithModuleName("Assembly2"), references: new[] { comp1.Compilation.ToMetadataReference() }, symbolValidator: module =>
Attributes\AttributeTests_WellKnownAttributes.cs (5)
5764var compilation = verifier.Compilation; 11395var comp = (CSharpCompilation)verifier.Compilation; 11420var comp = (CSharpCompilation)verifier.Compilation; 11451var comp = (CSharpCompilation)verifier.Compilation; 11581var reference = comp1.Compilation.ToMetadataReference();
FieldKeywordTests.cs (11)
78var comp = (CSharpCompilation)verifier.Compilation; 142var comp = (CSharpCompilation)verifier.Compilation; 1514var comp = (CSharpCompilation)verifier.Compilation; 1672var comp = (CSharpCompilation)verifier.Compilation; 1839var comp = (CSharpCompilation)verifier.Compilation; 1945var comp = (CSharpCompilation)verifier.Compilation; 2150var comp = (CSharpCompilation)verifier.Compilation; 8458var comp = (CSharpCompilation)verifier.Compilation; 8999var comp = (CSharpCompilation)verifier.Compilation; 9263var comp = (CSharpCompilation)verifier.Compilation; 10083var comp = (CSharpCompilation)verifier.Compilation;
FlowAnalysis\RegionAnalysisTests.cs (1)
5618var comp = verifier.Compilation;
OverloadResolutionPriorityTests.cs (2)
986var attr = ((CSharpCompilation)verifier.Compilation).GetTypeByMetadataName("System.Runtime.CompilerServices.OverloadResolutionPriorityAttribute"); 1474var comp = (CSharpCompilation)CompileAndVerify(source, references: [ilRef], expectedOutput: "12").VerifyDiagnostics().Compilation;
RefReadonlyParameterTests.cs (2)
1400verifyModoptFromAssembly(verifier3v1.Compilation, "Assembly1"); 1423verifyModoptFromAssembly(verifier3v2.Compilation, "Assembly4");
Semantics\CollectionExpressionTests.cs (3)
13337var sourceType = ((CSharpCompilation)verifier.Compilation).GetMember<NamedTypeSymbol>("ReadOnlyArray"); 17169comp = (CSharpCompilation)verifier.Compilation; 30192var comp = (CSharpCompilation)verifier.Compilation;
Semantics\OutVarTests.cs (2)
32975var tree = comp.Compilation.SyntaxTrees.Single(); 32976var model = comp.Compilation.GetSemanticModel(tree);
Semantics\PrimaryConstructorTests.cs (2)
1962var comp = (CSharpCompilation)verifier.Compilation; 8702Assert.Empty(((CSharpCompilation)verifier.Compilation).GetTypeByMetadataName("C1").InstanceConstructors.OfType<SynthesizedPrimaryConstructor>().Single().GetCapturedParameters());
Semantics\RecordTests.cs (24)
900var c = verifier.Compilation.GlobalNamespace.GetTypeMember("C"); 1566var comp = (CSharpCompilation)verifier.Compilation; 1617var comp = (CSharpCompilation)verifier.Compilation; 7655var clone = verifier.Compilation.GetMember("C." + WellKnownMemberNames.CloneMethodName); 8086var comp = (CSharpCompilation)verifier.Compilation; 14118var deconstruct = ((CSharpCompilation)verifier.Compilation).GetMember<MethodSymbol>("B.Deconstruct"); 14163verifier.Compilation.GetMember("B.Deconstruct").ToTestDisplayString(includeNonNullable: false)); 14265verifier.Compilation.GetMember("B.Deconstruct").ToTestDisplayString(includeNonNullable: false)); 14385verifier.Compilation.GetMember("C.Deconstruct").ToTestDisplayString(includeNonNullable: false)); 14595verifier.Compilation.GetMember("C.Deconstruct").ToTestDisplayString(includeNonNullable: false)); 14671var comp = verifier.Compilation; 14720var comp = verifier.Compilation; 14776var comp = verifier.Compilation; 14853var comp = verifier.Compilation; 15290Assert.Equal(expectedSymbols, verifier.Compilation.GetMembers("B.Deconstruct").Select(s => s.ToTestDisplayString(includeNonNullable: false))); 15367Assert.Equal(expectedSymbols, verifier.Compilation.GetMembers("B.Deconstruct").Select(s => s.ToTestDisplayString(includeNonNullable: false))); 15441Assert.Equal("void B.Deconstruct(out System.Int32 X, out System.Int32 Y)", verifier.Compilation.GetMember("B.Deconstruct").ToTestDisplayString(includeNonNullable: false)); 15477Assert.Equal("void B.Deconstruct(out System.Int32 X, out System.Int32 Y)", verifier.Compilation.GetMember("B.Deconstruct").ToTestDisplayString(includeNonNullable: false)); 15622Assert.Equal("void B.Deconstruct(out System.Int32 X)", verifier.Compilation.GetMember("B.Deconstruct").ToTestDisplayString(includeNonNullable: false)); 15656var deconstruct = verifier.Compilation.GetMember("B.Deconstruct"); 20331var comp = (CSharpCompilation)verifier.Compilation; 20450var comp = (CSharpCompilation)verifier.Compilation; 22074var comp = (CSharpCompilation)verifier.Compilation; 22653var clone = ((CSharpCompilation)verifier.Compilation).GetMember<MethodSymbol>("C." + WellKnownMemberNames.CloneMethodName);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (66)
Semantics\DeconstructionTests.cs (2)
1837var tree = comp.Compilation.SyntaxTrees.First(); 1838var model = comp.Compilation.GetSemanticModel(tree, ignoreAccessibility: false);
Semantics\DelegateTypeTests.cs (22)
13438var cm = verifier.Compilation.GetMember<IMethodSymbol>("C.M"); 13440var dm = verifier.Compilation.GetMember<IMethodSymbol>("D.M"); 13479var cm = verifier.Compilation.GetMember<IMethodSymbol>("C.M"); 13481var dm = verifier.Compilation.GetMember<IMethodSymbol>("D.M"); 13542var cm = verifier.Compilation.GetMember<IMethodSymbol>("C.M"); 13544var dm = verifier.Compilation.GetMember<IMethodSymbol>("D.M"); 13587var cm = verifier.Compilation.GetMember<IMethodSymbol>("C.M"); 13589var dm = verifier.Compilation.GetMember<IMethodSymbol>("D.M"); 13609cm = verifier.Compilation.GetMember<IMethodSymbol>("C.M"); 13611dm = verifier.Compilation.GetMember<IMethodSymbol>("D.M"); 13659var cm = verifier.Compilation.GetMember<IMethodSymbol>("C.M"); 13661var dm = verifier.Compilation.GetMembers<IMethodSymbol>("D.M").Single(m => m.OverriddenMethod is not null); 13726var cm = verifier.Compilation.GetMember<IMethodSymbol>("C.M"); 13728var dm = verifier.Compilation.GetMembers<IMethodSymbol>("D.M").Single(m => m.OverriddenMethod is not null); 13873var cm = verifier.Compilation.GetMember<IMethodSymbol>("C.M"); 13875var dm = verifier.Compilation.GetMembers<IMethodSymbol>("D.M").Single(m => m.OverriddenMethod is not null); 13914var cm = verifier.Compilation.GetMember<IMethodSymbol>("C.M"); 13916var dm = verifier.Compilation.GetMember<IMethodSymbol>("D.M"); 13957var cm = verifier.Compilation.GetMember<IMethodSymbol>("C.M"); 13959var dm = verifier.Compilation.GetMember<IMethodSymbol>("D.M"); 13986cm = verifier.Compilation.GetMember<IMethodSymbol>("C.M"); 13988dm = verifier.Compilation.GetMember<IMethodSymbol>("D.M");
Semantics\DynamicTests.cs (10)
3857var tree = verifier.Compilation.SyntaxTrees.Single(); 3858var model = verifier.Compilation.GetSemanticModel(tree); 3890var tree = verifier.Compilation.SyntaxTrees.Single(); 3891var model = verifier.Compilation.GetSemanticModel(tree); 3918var tree = verifier.Compilation.SyntaxTrees.Single(); 3919var model = verifier.Compilation.GetSemanticModel(tree); 3946var tree = verifier.Compilation.SyntaxTrees.Single(); 3947var model = verifier.Compilation.GetSemanticModel(tree); 3997var tree = verifier.Compilation.SyntaxTrees.Single(); 3998var model = verifier.Compilation.GetSemanticModel(tree);
Semantics\InitOnlyMemberTests.cs (4)
4259var s = verifier.Compilation.GetTypeByMetadataName("S"); 4298var s = verifier.Compilation.GetTypeByMetadataName("S"); 4338var s = verifier.Compilation.GetTypeByMetadataName("S"); 4434var s = verifier.Compilation.GetTypeByMetadataName("S");
Semantics\IteratorTests.cs (1)
552comp.Compilation.VerifyDiagnostics();
Semantics\NonTrailingNamedArgumentsTests.cs (8)
43var tree = verifier.Compilation.SyntaxTrees.First(); 44var model = verifier.Compilation.GetSemanticModel(tree); 391var tree = verifier.Compilation.SyntaxTrees.First(); 392var model = verifier.Compilation.GetSemanticModel(tree); 742var tree = verifier.Compilation.SyntaxTrees.First(); 743var model = verifier.Compilation.GetSemanticModel(tree); 774var tree = verifier.Compilation.SyntaxTrees.First(); 775var model = verifier.Compilation.GetSemanticModel(tree);
Semantics\NullableReferenceTypesTests.cs (1)
138510var comp2 = CreateCompilation(source2, [verifier1.Compilation.ToMetadataReference()]);
Semantics\OperatorTests.cs (1)
8892verifier.Compilation.VerifyDiagnostics();
Semantics\RecordStructTests.cs (6)
1762var c = verifier.Compilation.GlobalNamespace.GetTypeMember("C"); 1809var c = verifier.Compilation.GlobalNamespace.GetTypeMember("C"); 3438var deconstruct = ((CSharpCompilation)verifier.Compilation).GetMember<MethodSymbol>("B.Deconstruct"); 3483verifier.Compilation.GetMember("B.Deconstruct").ToTestDisplayString(includeNonNullable: false)); 3585verifier.Compilation.GetMember("B.Deconstruct").ToTestDisplayString(includeNonNullable: false)); 4903var comp = (CSharpCompilation)verifier.Compilation;
Semantics\RefFieldTests.cs (3)
218comp = (CSharpCompilation)verifier.Compilation; 292comp = (CSharpCompilation)verifier.Compilation; 2004var refB = verifier.Compilation.EmitToImageReference();
Semantics\StructConstructorTests.cs (3)
1047var comp = (CSharpCompilation)verifier.Compilation; 1142var comp = (CSharpCompilation)verifier.Compilation; 1239var comp = (CSharpCompilation)verifier.Compilation;
Semantics\TopLevelStatementsTests.cs (2)
6083var comp = verifier.Compilation; 6155var comp = verifier.Compilation;
Semantics\UnsafeTests.cs (3)
12412var comp1 = CompileAndVerify(s1, options: TestOptions.UnsafeReleaseDll, verify: Verification.Passes).Compilation; 12417expectedOutput: "TrueFalse").Compilation; 12467references: new MetadataReference[] { MetadataReference.CreateFromImage(comp1.EmitToArray()) }).Compilation;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (34)
Symbols\ExtendedPartialMethodsTests.cs (1)
1320var method = (MethodSymbol)verifier.Compilation.GetMembers("C.M1")[0];
Symbols\IndexedPropertyTests.cs (2)
986var @namespace = (NamespaceSymbol)((CSharpCompilation)compilation2.Compilation).GlobalNamespace; 1087var @namespace = (NamespaceSymbol)((CSharpCompilation)compilation2.Compilation).GlobalNamespace;
Symbols\IndexerTests.cs (1)
128var globalNamespace = (NamespaceSymbol)((CSharpCompilation)compilation.Compilation).GlobalNamespace;
Symbols\PartialPropertiesTests.cs (8)
912var comp = (CSharpCompilation)verifier.Compilation; 987var comp = (CSharpCompilation)verifier.Compilation; 1131var comp = (CSharpCompilation)verifier.Compilation; 1177var comp = (CSharpCompilation)verifier.Compilation; 1335var comp = (CSharpCompilation)verifier.Compilation; 1840var comp = (CSharpCompilation)verifier.Compilation; 1944var comp = (CSharpCompilation)verifier.Compilation; 2006var comp = (CSharpCompilation)verifier.Compilation;
Symbols\Source\EventTests.cs (3)
303var semanticModel = compVerifier.Compilation.GetSemanticModel(compVerifier.Compilation.SyntaxTrees.Single()); 813var comp = (CSharpCompilation)compVerifier.Compilation;
Symbols\Source\FileModifierTests.cs (18)
219var comp = (CSharpCompilation)verifier.Compilation; 269var comp = (CSharpCompilation)verifier.Compilation; 316var comp = (CSharpCompilation)verifier.Compilation; 368var comp = (CSharpCompilation)verifier.Compilation; 444var comp = (CSharpCompilation)verifier.Compilation; 744var comp = (CSharpCompilation)verifier.Compilation; 776var comp = (CSharpCompilation)verifier.Compilation; 807var comp = (CSharpCompilation)verifier.Compilation; 1151var comp = (CSharpCompilation)verifier.Compilation; 1210var comp = (CSharpCompilation)verifier.Compilation; 1218comp = (CSharpCompilation)verifier.Compilation; 1347var comp = (CSharpCompilation)verifier.Compilation; 1413var comp = (CSharpCompilation)verifier.Compilation; 1475var comp = (CSharpCompilation)verifier.Compilation; 2592var comp = (CSharpCompilation)verifier.Compilation; 2632var comp = (CSharpCompilation)verifier.Compilation; 3501var comp = (CSharpCompilation)verifier.Compilation; 3552var comp = (CSharpCompilation)verifier.Compilation;
Symbols\Source\PropertyTests.cs (1)
712var type = (PENamedTypeSymbol)verifier.Compilation.GlobalNamespace.GetMembers("Signatures").Single().GetSymbol();
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (1)
CodeGen\WinRTCollectionTests.cs (1)
7370var compRef = verifier.Compilation.ToMetadataReference();
Microsoft.CodeAnalysis.Test.Utilities (1)
CommonTestBase.cs (1)
170var moduleSymbol = verifier.GetSymbolFromMetadata(reference, verifier.Compilation.Options.MetadataImportOptions);
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (6)
CodeGen\WinRTCollectionTests.vb (1)
6298Dim compRef = verifier.Compilation.EmitToImageReference(expectedWarnings:={Diagnostic(ERRID.HDN_UnusedImportStatement, "Imports System")})
Emit\DynamicAnalysis\DynamicInstrumentationTests.vb (5)
59checker.CompleteCheck(verifier.Compilation, testSource) 2477checker.CompleteCheck(verifier.Compilation, testSource) 2481checker.CompleteCheck(verifier.Compilation, testSource) 2550checker.CompleteCheck(verifier.Compilation, testSource) 2554checker.CompleteCheck(verifier.Compilation, testSource)
Roslyn.Test.PdbUtilities (4)
Reader\PdbValidation.cs (4)
41verifier.Compilation.VerifyPdb(expectedPdb, embeddedTexts, debugEntryPoint, format, options, expectedValueSourceLine, expectedValueSourcePath); 56verifier.Compilation.VerifyPdb(expectedPdb, embeddedTexts, debugEntryPoint, format, options, expectedIsRawXml, expectedValueSourceLine, expectedValueSourcePath); 72verifier.Compilation.VerifyPdb(qualifiedMethodName, expectedPdb, embeddedTexts, debugEntryPoint, format, options, expectedIsRawXml, expectedValueSourceLine, expectedValueSourcePath); 87verifier.Compilation.VerifyPdb(qualifiedMethodName, expectedPdb, embeddedTexts, debugEntryPoint, format, options, expectedValueSourceLine, expectedValueSourcePath);