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