87 references to Mscorlib40
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (34)
CodeGen\CodeGenForEachTests.cs (1)
791
var compilation = CreateCompilationWithILAndMscorlib40(csharp, il, TargetFramework.
Mscorlib40
);
CodeGen\CodeGenRefReadonlyReturnTests.cs (1)
915
comp = CompileAndVerify(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }, parseOptions: TestOptions.Regular.WithPEVerifyCompatFeature(), verify: Verification.Fails, targetFramework: TargetFramework.
Mscorlib40
);
CodeGen\CodeGenTupleTest.cs (27)
926
", targetFramework: TargetFramework.
Mscorlib40
, references: s_valueTupleRefs);
27077
var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.DebugExe);
27084
var comp4 = CreateCompilation(source0 + source2, targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.DebugExe);
27087
var comp5 = CreateCompilation(source2, targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.DebugExe, references: comp1Ref);
27091
var comp6 = CreateCompilation(source2, targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.DebugExe, references: comp1ImageRef);
27161
var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.DebugExe);
27168
var comp4 = CreateCompilation(source0 + source2, targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.DebugExe);
27171
var comp5 = CreateCompilation(source2, targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.DebugExe, references: comp1Ref);
27175
var comp6 = CreateCompilation(source2, targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.DebugExe, references: comp1ImageRef);
27235
var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.DebugExe);
27242
var comp4 = CreateCompilation(source0 + source2, targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.DebugExe);
27245
var comp5 = CreateCompilation(source2, targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.DebugExe, references: comp1Ref);
27249
var comp6 = CreateCompilation(source2, targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.DebugExe, references: comp1ImageRef);
27313
var comp1 = CreateCompilation(source0 + source1, targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.DebugExe);
27320
var comp4 = CreateCompilation(source0 + source2, targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.DebugExe);
27323
var comp5 = CreateCompilation(source2, targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.DebugExe, references: comp1Ref);
27327
var comp6 = CreateCompilation(source2, targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.DebugExe, references: comp1ImageRef);
27987
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Mscorlib40
, assemblyName: "emptyValueTuple");
28008
var comp2 = CreateCompilation(client, references: new[] { comp.EmitToImageReference() }, targetFramework: TargetFramework.
Mscorlib40
);
28063
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Mscorlib40
, assemblyName: "emptyValueTuple", parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute());
28097
var comp2 = CreateCompilation(client, references: new[] { comp.EmitToImageReference() }, targetFramework: TargetFramework.
Mscorlib40
);
28130
var comp = CreateCompilation(source + tupleattributes_cs, targetFramework: TargetFramework.
Mscorlib40
);
28193
var comp = CreateCompilation(source + tupleattributes_cs, targetFramework: TargetFramework.
Mscorlib40
);
28224
var comp = CreateCompilation(trivial2uple + trivial3uple + trivialRemainingTuples, targetFramework: TargetFramework.
Mscorlib40
);
28338
var comp = CreateCompilation(trivialRemainingTuples, targetFramework: TargetFramework.
Mscorlib40
);
28426
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Mscorlib40
, assemblyName: "customValueTuple");
28521
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Mscorlib40
, assemblyName: "customValueTuple");
CodeGen\FixedSizeBufferTests.cs (1)
1152
var comp = CreateCompilation(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.
Mscorlib40
, assemblyName: "fixedBuffer");
CodeGen\UnsafeTests.cs (1)
11330
var compilation = CreateCompilationWithILAndMscorlib40(csharpSource, ilSource, targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.ReleaseExe);
Emit\EmitCustomModifiers.cs (2)
599
var comp = CreateCompilationWithILAndMscorlib40(source, il, TargetFramework.
Mscorlib40
, options: TestOptions.ReleaseExe);
655
var comp = CreateCompilationWithILAndMscorlib40(source, il, TargetFramework.
Mscorlib40
, options: TestOptions.ReleaseExe);
PDB\PDBUsingTests.cs (1)
2388
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Mscorlib40
);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Attributes\AttributeTests_WellKnownAttributes.cs (1)
5568
var verifier = CompileAndVerify(source, sourceSymbolValidator: sourceValidator, symbolValidator: metadataValidator, verify: Verification.FailsPEVerify, targetFramework: TargetFramework.
Mscorlib40
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\ImportsTests.cs (2)
105
targetFramework: TargetFramework.
Mscorlib40
,
146
var comp = CreateCompilation(trees, targetFramework: TargetFramework.
Mscorlib40
, references: new[] { SystemCoreRef.WithAliases(externAliases) });
Semantics\InitOnlyMemberTests.cs (1)
4183
targetFramework: TargetFramework.
Mscorlib40
, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
Semantics\InterpolationTests.cs (4)
1143
[InlineData(TargetFramework.
Mscorlib40
)]
1250
[InlineData(TargetFramework.
Mscorlib40
)]
1353
[InlineData(TargetFramework.
Mscorlib40
)]
1409
[InlineData(TargetFramework.
Mscorlib40
)]
Semantics\NativeIntegerTests.cs (1)
776
var comp = CreateCompilation(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.
Mscorlib40
);
Semantics\RecordStructTests.cs (1)
509
var comp = CreateCompilation(src, targetFramework: TargetFramework.
Mscorlib40
);
Semantics\RefFieldTests.cs (4)
328
var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.
Mscorlib40
);
505
var comp = CreateCompilation(sourceB, targetFramework: TargetFramework.
Mscorlib40
, references: new[] { refA });
11471
var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.
Mscorlib40
);
22324
var comp = CreateCompilation(new[] { sourceA, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.
Mscorlib40
);
Semantics\StructConstructorTests.cs (1)
3218
var comp = CreateCompilation(sourceA, targetFramework: TargetFramework.
Mscorlib40
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
DocumentationComments\DocumentationCommentCompilerTests.cs (1)
35
targetFramework: TargetFramework.
Mscorlib40
,
Symbols\CustomModifiersTests.cs (1)
1830
var compilation = CreateCompilationWithILAndMscorlib40(source, ilSource, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.
Mscorlib40
, references: new[] { SystemCoreRef });
Symbols\GenericConstraintTests.cs (1)
4315
CompileWithCustomILSource(csharpSource, ilSource, compilationVerifier: compilationVerifier, targetFramework: TargetFramework.
Mscorlib40
);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
CSharpTestBase.cs (4)
746
TargetFramework.
Mscorlib40
,
1045
TargetFramework targetFramework = TargetFramework.
Mscorlib40
,
1062
string sourceFileName = "") => CreateCompilation(source, references, options, parseOptions, TargetFramework.
Mscorlib40
, assemblyName, sourceFileName);
1150
return CreateCompilation(source, references, options, parseOptions, TargetFramework.
Mscorlib40
, assemblyName, sourceFileName);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (13)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (12)
812
AddMetadataReferences(projectId, TargetFrameworkUtil.GetReferences(TargetFramework.
Mscorlib40
)).
981
AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.
Mscorlib40
)).
1093
AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.
Mscorlib40
)).
1179
AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.
Mscorlib40
));
1345
AddMetadataReferences(projectId, TargetFrameworkUtil.GetReferences(TargetFramework.
Mscorlib40
)).
1568
AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.
Mscorlib40
));
1676
AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.
Mscorlib40
)).
1720
AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.
Mscorlib40
)).
2518
AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.
Mscorlib40
)).
2586
AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.
Mscorlib40
));
2648
AddMetadataReferences(TargetFrameworkUtil.GetReferences(TargetFramework.
Mscorlib40
)).
4695
AddMetadataReferences(projectId, TargetFrameworkUtil.GetReferences(TargetFramework.
Mscorlib40
)).
EditAndContinue\RemoteEditAndContinueServiceTests.cs (1)
85
.AddMetadataReferences(projectId, TargetFrameworkUtil.GetReferences(TargetFramework.
Mscorlib40
))
Microsoft.CodeAnalysis.Test.Utilities (1)
TargetFrameworkUtil.cs (1)
214
TargetFramework.
Mscorlib40
=> Mscorlib40References,
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (16)
CodeGen\CodeGenTuples.vb (16)
22887
Dim comp1 = CreateCompilation(source0 + source1, targetFramework:=TargetFramework.
Mscorlib40
, options:=TestOptions.DebugExe)
22894
Dim comp4 = CreateCompilation(source0 + source2, targetFramework:=TargetFramework.
Mscorlib40
, options:=TestOptions.DebugExe)
22897
Dim comp5 = CreateCompilation(source2, targetFramework:=TargetFramework.
Mscorlib40
, options:=TestOptions.DebugExe, references:=comp1Ref)
22901
Dim comp6 = CreateCompilation(source2, targetFramework:=TargetFramework.
Mscorlib40
, options:=TestOptions.DebugExe, references:=comp1ImageRef)
22957
Dim comp1 = CreateCompilation(source0 + source1, targetFramework:=TargetFramework.
Mscorlib40
, options:=TestOptions.DebugExe)
22964
Dim comp4 = CreateCompilation(source0 + source2, targetFramework:=TargetFramework.
Mscorlib40
, options:=TestOptions.DebugExe)
22967
Dim comp5 = CreateCompilation(source2, targetFramework:=TargetFramework.
Mscorlib40
, options:=TestOptions.DebugExe, references:=comp1Ref)
22971
Dim comp6 = CreateCompilation(source2, targetFramework:=TargetFramework.
Mscorlib40
, options:=TestOptions.DebugExe, references:=comp1ImageRef)
23019
Dim comp1 = CreateCompilation(source0 + source1, targetFramework:=TargetFramework.
Mscorlib40
, options:=TestOptions.DebugExe)
23026
Dim comp4 = CreateCompilation(source0 + source2, targetFramework:=TargetFramework.
Mscorlib40
, options:=TestOptions.DebugExe)
23029
Dim comp5 = CreateCompilation(source2, targetFramework:=TargetFramework.
Mscorlib40
, options:=TestOptions.DebugExe, references:=comp1Ref)
23033
Dim comp6 = CreateCompilation(source2, targetFramework:=TargetFramework.
Mscorlib40
, options:=TestOptions.DebugExe, references:=comp1ImageRef)
23085
Dim comp1 = CreateCompilation(source0 + source1, targetFramework:=TargetFramework.
Mscorlib40
, options:=TestOptions.DebugExe)
23092
Dim comp4 = CreateCompilation(source0 + source2, targetFramework:=TargetFramework.
Mscorlib40
, options:=TestOptions.DebugExe)
23095
Dim comp5 = CreateCompilation(source2, targetFramework:=TargetFramework.
Mscorlib40
, options:=TestOptions.DebugExe, references:=comp1Ref)
23099
Dim comp6 = CreateCompilation(source2, targetFramework:=TargetFramework.
Mscorlib40
, options:=TestOptions.DebugExe, references:=comp1ImageRef)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
CompilationTestUtils.vb (1)
131
Return CreateCompilation(source, references, options, parseOptions, TargetFramework.
Mscorlib40
, assemblyName)