105 references to Net100
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenAwaitUsingTests.cs (1)
3553
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net100
);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (97)
FieldKeywordTests.cs (4)
12971
var comp = CreateCompilation([source1, source2], targetFramework: TargetFramework.
Net100
);
12977
var comp1 = CreateCompilation(source1, targetFramework: TargetFramework.
Net100
);
12985
var comp2 = CreateCompilation(source2, references: [reference], targetFramework: TargetFramework.
Net100
);
13017
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net100
);
RefStructInterfacesTests.cs (4)
12189
comp = CreateCompilation(src, targetFramework: TargetFramework.
Net100
, options: TestOptions.ReleaseDll);
12192
comp = CreateCompilation(src, targetFramework: TargetFramework.
Net100
, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11);
12388
comp = CreateCompilation(src, targetFramework: TargetFramework.
Net100
, options: TestOptions.ReleaseDll);
12391
comp = CreateCompilation(src, targetFramework: TargetFramework.
Net100
, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11);
Semantics\CollectionExpressionTests.cs (2)
47216
var verifier = CompileAndVerify([sourceA, sourceB, s_collectionExtensionsWithSpan], expectedOutput: IncludeExpectedOutput(expectedOutput), targetFramework: TargetFramework.
Net100
, verify: ilVerifyFailure, symbolValidator: verifyResult(shouldHaveSynthesizedArrayType: arrayLength == 17, arrayLength));
47251
var comp = CreateCompilation([sourceA, sourceB, s_collectionExtensionsWithSpan], targetFramework: TargetFramework.
Net100
);
Semantics\CollectionExpressionTests_WithElement_ArraysAndSpans.cs (1)
819
var compilation = CreateCompilation(source, targetFramework: TargetFramework.
Net100
).VerifyDiagnostics(
Semantics\CollectionExpressionTests_WithElement_Constructor.cs (2)
2966
CreateCompilation(source, targetFramework: TargetFramework.
Net100
).VerifyDiagnostics(
3006
CreateCompilation(source, targetFramework: TargetFramework.
Net100
).VerifyDiagnostics();
Semantics\CollectionExpressionTests_WithElement_Extra.cs (14)
8641
CreateCompilation(source, targetFramework: TargetFramework.
Net100
).VerifyDiagnostics(
8651
CreateCompilation(source, targetFramework: TargetFramework.
Net100
).VerifyDiagnostics(
8702
CreateCompilation(source, targetFramework: TargetFramework.
Net100
).VerifyDiagnostics(
8709
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyIL("C.Main", """
8749
CreateCompilation(source, targetFramework: TargetFramework.
Net100
).VerifyEmitDiagnostics(
8815
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, expectedOutput: IncludeExpectedOutput("int,long"), verify: Verification.FailsPEVerify);
8855
CreateCompilation(source, targetFramework: TargetFramework.
Net100
).VerifyDiagnostics(
8900
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, expectedOutput: IncludeExpectedOutput("int chosen"), verify: Verification.FailsPEVerify);
8944
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, expectedOutput: IncludeExpectedOutput("int"), verify: Verification.FailsPEVerify);
8975
CreateCompilation(source, targetFramework: TargetFramework.
Net100
).VerifyDiagnostics(
9022
targetFramework: TargetFramework.
Net100
,
9081
targetFramework: TargetFramework.
Net100
,
9142
CreateCompilation(source, targetFramework: TargetFramework.
Net100
).VerifyDiagnostics(
9189
CreateCompilation(source, targetFramework: TargetFramework.
Net100
).VerifyDiagnostics();
Semantics\CollectionExpressionTests_WithElement_Nullable.cs (28)
821
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics(
857
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
890
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics(
926
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
1152
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics(
1189
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
1223
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics(
1260
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
1487
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics(
1526
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics(
1562
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics(
1598
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics(
1834
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
1868
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
1902
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics(
1939
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
2177
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics(
2218
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics(
2256
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics(
2294
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
2535
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
2568
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics(
2604
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
2637
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics(
2857
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
2894
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
2933
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics();
2995
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, verify: Verification.FailsPEVerify).VerifyDiagnostics(
Semantics\ExtensionTests.cs (1)
52588
assemblyName: "paramref_06", targetFramework: TargetFramework.
Net100
);
Semantics\ExtensionTests2.cs (10)
2731
var comp = CreateCompilation(src, targetFramework: TargetFramework.
Net100
);
3123
CreateCompilation(src, targetFramework: TargetFramework.
Net100
).VerifyEmitDiagnostics();
3315
var libComp = CreateCompilation(libSrc, targetFramework: TargetFramework.
Net100
);
3348
var comp = CreateCompilation(src, references: [AsReference(libComp, useCompilationReference)], targetFramework: TargetFramework.
Net100
);
3520
var libComp = CreateCompilation(libSrc, targetFramework: TargetFramework.
Net100
);
3553
var comp = CreateCompilation(src, references: [AsReference(libComp, useCompilationReference)], targetFramework: TargetFramework.
Net100
);
3733
var libComp = CreateCompilation(libSrc, targetFramework: TargetFramework.
Net100
).VerifyEmitDiagnostics();
3742
var comp = CreateCompilation(src, references: [AsReference(libComp, useCompilationReference)], targetFramework: TargetFramework.
Net100
);
3767
var libComp = CreateCompilation(libSrc, targetFramework: TargetFramework.
Net100
).VerifyEmitDiagnostics();
3776
var comp = CreateCompilation(src, references: [AsReference(libComp, useCompilationReference)], targetFramework: TargetFramework.
Net100
);
Semantics\PatternSwitchTests.cs (31)
3564
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3614
CreateCompilation(source, targetFramework: TargetFramework.
Net100
).VerifyDiagnostics(expected2);
3615
CreateCompilation(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular10).VerifyDiagnostics(expected2);
3616
CreateCompilation(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected2);
3660
CreateCompilation(source, targetFramework: TargetFramework.
Net100
).VerifyDiagnostics(expected2);
3661
CreateCompilation(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular10).VerifyDiagnostics(expected2);
3662
CreateCompilation(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected2);
3712
CreateCompilation(source, targetFramework: TargetFramework.
Net100
).VerifyDiagnostics(expected2);
3713
CreateCompilation(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular10).VerifyDiagnostics(expected2);
3714
CreateCompilation(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected2);
3758
CreateCompilation(source, targetFramework: TargetFramework.
Net100
).VerifyDiagnostics(expected2);
3759
CreateCompilation(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular10).VerifyDiagnostics(expected2);
3760
CreateCompilation(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected2);
3802
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3803
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular10, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3804
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular11, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3849
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3850
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular10, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3851
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular11, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3896
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3897
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular10, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3898
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular11, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3940
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3941
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular10, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3942
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular11, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3987
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3988
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular10, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
3989
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular11, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
4034
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
4035
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular10, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
4036
CompileAndVerify(source, targetFramework: TargetFramework.
Net100
, parseOptions: TestOptions.Regular11, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? "Case 2Case 2Case 2" : null, verify: Verification.FailsPEVerify).VerifyDiagnostics();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\NullCoalesceAssignmentTests.cs (2)
488
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net100
);
530
var comp = CreateCompilation(source, targetFramework: TargetFramework.
Net100
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Compilation\UsedAssembliesTests.cs (3)
6043
var comp1 = CreateCompilation(source, targetFramework: TargetFramework.
Net100
);
6067
var comp1 = CreateCompilation(source, targetFramework: TargetFramework.
Net100
);
6091
var comp1 = CreateCompilation(source, targetFramework: TargetFramework.
Net100
);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
3226
return CreateCompilation(source, options: options, parseOptions: parseOptions, targetFramework: TargetFramework.
Net100
);
Microsoft.CodeAnalysis.Test.Utilities (1)
TargetFrameworkUtil.cs (1)
310
TargetFramework.
Net100
=> ImmutableArray.CreateRange<MetadataReference>(LoadDynamicReferences("Net100")),