70 references to NetStandard20
InteractiveHost.UnitTests (1)
AbstractInteractiveHostTests.cs (1)
200
references: TargetFrameworkUtil.GetReferences(TargetFramework.
NetStandard20
, references),
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenAsyncIteratorTests.cs (1)
6496
var comp = CreateCompilation(AsyncStreamsTypes, references: new[] { NetStandard20.ExtraReferences.SystemThreadingTasksExtensions }, targetFramework: TargetFramework.
NetStandard20
);
CodeGen\CodeGenFunctionPointersTests.cs (1)
7503
}", targetFramework: TargetFramework.
NetStandard20
);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (22)
Emit\EditAndContinue\EditAndContinueClosureTests.cs (1)
4733
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.
NetStandard20
);
Emit\EditAndContinue\EditAndContinueTests.cs (21)
794
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.
NetStandard20
);
856
using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.
NetStandard20
)
1005
using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.
NetStandard20
)
1137
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.
NetStandard20
);
1260
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.
NetStandard20
);
2895
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.
NetStandard20
);
2979
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.
NetStandard20
);
3106
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.
NetStandard20
);
5986
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.
NetStandard20
);
6109
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.
NetStandard20
);
6442
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.
NetStandard20
);
6527
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.
NetStandard20
);
9597
var compilation0 = CreateCompilation(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework: TargetFramework.
NetStandard20
);
9812
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.
NetStandard20
);
11213
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.
NetStandard20
);
12093
var compilation0 = CreateCompilation(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.
NetStandard20
);
12200
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.
NetStandard20
);
12492
var compilation0 = CreateCompilation(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.
NetStandard20
);
15466
var compilation0 = CreateCompilation(source0.Tree, targetFramework: TargetFramework.
NetStandard20
, options: ComSafeDebugDll);
15672
using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.
NetStandard20
)
15897
using var _ = new EditAndContinueTest(options: TestOptions.DebugDll, targetFramework: TargetFramework.
NetStandard20
, verification: Verification.Skipped)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (16)
Attributes\AttributeTests_Embedded.cs (13)
235
var verifier = CompileAndVerify(code, targetFramework: TargetFramework.
NetStandard20
, expectedOutput: "M", symbolValidator: module =>
248
""", references: [reference], targetFramework: TargetFramework.
NetStandard20
);
260
""", references: [reference], targetFramework: TargetFramework.
NetStandard20
);
291
CreateCompilation(code, assemblyName: "testModule", targetFramework: TargetFramework.
NetStandard20
).VerifyEmitDiagnostics(
318
CreateCompilation(code, assemblyName: "testModule", targetFramework: TargetFramework.
NetStandard20
).VerifyEmitDiagnostics(
345
var verifier = CompileAndVerify(code, targetFramework: TargetFramework.
NetStandard20
, symbolValidator: module =>
403
CreateCompilation(code, assemblyName: "testModule", targetFramework: TargetFramework.
NetStandard20
)
428
var comp = CreateCompilation(code, assemblyName: "testModule", targetFramework: TargetFramework.
NetStandard20
);
487
var comp = CreateCompilation(code, assemblyName: "testModule", targetFramework: TargetFramework.
NetStandard20
);
529
var comp = CreateCompilation(code, assemblyName: "testModule", targetFramework: TargetFramework.
NetStandard20
);
568
CreateCompilation(code, assemblyName: "testModule", targetFramework: TargetFramework.
NetStandard20
).VerifyEmitDiagnostics(
604
CreateCompilation(code, assemblyName: "testModule", targetFramework: TargetFramework.
NetStandard20
).VerifyEmitDiagnostics(
656
CreateCompilation(code, assemblyName: "testModule", targetFramework: TargetFramework.
NetStandard20
)
FirstClassSpanTests.cs (1)
2787
var comp2 = CreateCompilation(source2, [comp1Ref], targetFramework: TargetFramework.
NetStandard20
);
RefReadonlyParameterTests.cs (1)
1602
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.
NetStandard20
);
Semantics\RecordTests.cs (1)
30208
var compA = CreateEmptyCompilation(new[] { sourceA, IsExternalInitTypeDefinition }, references: TargetFrameworkUtil.GetReferences(TargetFramework.
NetStandard20
));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\InterpolationTests.cs (4)
1139
[InlineData(TargetFramework.
NetStandard20
)]
1246
[InlineData(TargetFramework.
NetStandard20
)]
1349
[InlineData(TargetFramework.
NetStandard20
)]
1405
[InlineData(TargetFramework.
NetStandard20
)]
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (8)
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (5)
1205
", targetFramework: TargetFramework.
NetStandard20
);
1241
", targetFramework: TargetFramework.
NetStandard20
);
1275
", targetFramework: TargetFramework.
NetStandard20
);
1375
", targetFramework: TargetFramework.
NetStandard20
);
1588
", targetFramework: TargetFramework.
NetStandard20
);
Symbols\GenericConstraintTests.cs (2)
7357
var metadataComp = CreateCompilation(code, new[] { remappedComp11.EmitToImageReference() }, assemblyName: "intermediate", targetFramework: TargetFramework.
NetStandard20
);
7365
targetFramework: TargetFramework.
NetStandard20
);
Symbols\RequiredMembersTests.cs (1)
7888
CreateCompilation(source, targetFramework: TargetFramework.
NetStandard20
).VerifyEmitDiagnostics(
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
EditAndContinue\EditAndContinueTestVerifier.cs (1)
101
TargetFramework.
NetStandard20
,
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
43
private protected const TargetFramework DefaultTargetFramework = TargetFramework.
NetStandard20
;
Microsoft.CodeAnalysis.Features.UnitTests (1)
EditAndContinue\CompileTimeSolutionProviderTests.cs (1)
46
WithProjectMetadataReferences(projectId, TargetFrameworkUtil.GetReferences(TargetFramework.
NetStandard20
)).
Microsoft.CodeAnalysis.Test.Utilities (1)
TargetFrameworkUtil.cs (1)
303
TargetFramework.
NetStandard20
=> NetStandard20References,
Microsoft.CodeAnalysis.UnitTests (1)
Symbols\DocumentationCommentIdTests.cs (1)
23
code, referencedAssemblies: TargetFrameworkUtil.GetReferences(TargetFramework.
NetStandard20
));
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (12)
Attributes\AttributeTests.vb (8)
5132
CreateCompilation(code, assemblyName:="testModule", targetFramework:=TargetFramework.
NetStandard20
).AssertTheseDiagnostics(<![CDATA[
5153
CreateCompilation(code, assemblyName:="testModule", targetFramework:=TargetFramework.
NetStandard20
).AssertTheseDiagnostics(
5177
CreateCompilation(code, assemblyName:="testModule", targetFramework:=TargetFramework.
NetStandard20
).AssertTheseDiagnostics(<![CDATA[
5199
Dim comp = CreateCompilation(code, assemblyName:="testModule", targetFramework:=TargetFramework.
NetStandard20
)
5248
Dim comp = CreateCompilation(code, assemblyName:="testModule", targetFramework:=TargetFramework.
NetStandard20
)
5273
CreateCompilation(code, assemblyName:="testModule", targetFramework:=TargetFramework.
NetStandard20
).AssertTheseDiagnostics(<![CDATA[
5303
CreateCompilation(code, assemblyName:="testModule", targetFramework:=TargetFramework.
NetStandard20
).AssertTheseDiagnostics(<![CDATA[
5336
Dim comp = CreateCompilation(code, assemblyName:="testModule", targetFramework:=TargetFramework.
NetStandard20
)
Emit\EditAndContinue\EditAndContinueTests.vb (3)
1789
Dim compilation0 = CreateCompilation(source0, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.
NetStandard20
)
1917
Dim compilation0 = CreateCompilation(source0, options:=TestOptions.DebugDll, targetFramework:=TargetFramework.
NetStandard20
)
7201
Dim compilation0 = CreateCompilation(source0.Tree, targetFramework:=TargetFramework.
NetStandard20
, options:=ComSafeDebugDll)
PDB\VisualBasicDeterministicBuildCompilationTests.vb (1)
41
Dim tf = TargetFramework.
NetStandard20