25 references to MscorlibRef_v20
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (6)
Emit\NoPiaEmbedTypes.cs (6)
798
var piaCompilation = CreateEmptyCompilation(pia, new MetadataReference[] {
MscorlibRef_v20
}, options: TestOptions.ReleaseDll);
821
var compilation = CreateEmptyCompilation(consumer, new MetadataReference[] {
MscorlibRef_v20
, new CSharpCompilationReference(piaCompilation, embedInteropTypes: true) }, options: TestOptions.ReleaseExe);
825
compilation = CreateEmptyCompilation(consumer, references: new MetadataReference[] {
MscorlibRef_v20
, piaCompilation.EmitToImageReference(embedInteropTypes: true) }, options: TestOptions.ReleaseExe);
847
var piaCompilation = CreateEmptyCompilation(pia, new MetadataReference[] {
MscorlibRef_v20
}, options: TestOptions.DebugDll);
871
var compilation = CreateEmptyCompilation(consumer, new MetadataReference[] {
MscorlibRef_v20
, new CSharpCompilationReference(piaCompilation, embedInteropTypes: true) }, options: TestOptions.DebugExe);
875
compilation = CreateEmptyCompilation(consumer, references: new MetadataReference[] {
MscorlibRef_v20
, piaCompilation.EmitToImageReference(embedInteropTypes: true) }, options: TestOptions.DebugExe);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
Emit\EditAndContinue\LocalSlotMappingTests.cs (2)
1147
var compilation0 = CreateEmptyCompilation(source, options: TestOptions.DebugDll, references: new[] {
MscorlibRef_v20
});
1148
var compilation1 = CreateEmptyCompilation(source, options: TestOptions.DebugDll, references: new[] {
MscorlibRef_v20
});
Emit\NumericIntPtrTests.cs (1)
10912
var libComp = CreateEmptyCompilation(lib_cs, references: new[] {
MscorlibRef_v20
}, assemblyName: "lib");
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
IOperation\IOperationTests_ILockStatement.cs (1)
787
references: new[] {
MscorlibRef_v20
});
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (11)
Semantics\BindingAsyncTasklikeMoreTests.cs (2)
1259
var compilation0 = CreateEmptyCompilation(source0, references: new[] {
MscorlibRef_v20
});
1275
var compilation = CreateEmptyCompilation(source, references: new[] {
MscorlibRef_v20
, ref0 });
Semantics\OverloadResolutionTests.cs (1)
1118
var compilation = CreateEmptyCompilation(source, references: new[] {
MscorlibRef_v20
});
Semantics\ScriptSemanticsTests.cs (7)
87
var taskCompilation = CreateEmptyCompilation(taskAssembly, references: new[] {
MscorlibRef_v20
});
101
references: new MetadataReference[] { TaskFacadeAssembly(),
MscorlibRef_v20
});
118
references: new MetadataReference[] { TaskFacadeAssembly(false),
MscorlibRef_v20
});
163
references: new MetadataReference[] { TaskFacadeAssembly(),
MscorlibRef_v20
});
192
references: new MetadataReference[] { TaskFacadeAssembly(),
MscorlibRef_v20
});
211
references: new MetadataReference[] { TaskFacadeAssembly(),
MscorlibRef_v20
});
1375
references: new MetadataReference[] { TaskFacadeAssembly(),
MscorlibRef_v20
});
Semantics\UnsafeTests.cs (1)
58
var comp1 = CreateEmptyCompilation(text1, assemblyName: "assembly1", references: new[] {
MscorlibRef_v20
},
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\ExtensionMethodTests.cs (1)
3447
var compilation = CreateEmptyCompilation(source, new[] {
MscorlibRef_v20
}, TestOptions.ReleaseDll);
Symbols\GenericConstraintTests.cs (1)
7294
var metadataComp = CreateEmptyCompilation(code, new[] {
MscorlibRef_v20
}, assemblyName: "assembly1");
Symbols\OverriddenOrHiddenMembersTests.cs (1)
2865
var compilation = CreateEmptyCompilation(text, new MetadataReference[] {
MscorlibRef_v20
});
Symbols\Retargeting\RetargetingTests.cs (1)
730
var comp1 = CreateEmptyCompilation(source, new[] {
MscorlibRef_v20
}, TestOptions.ReleaseDll);