43 references to LockTypeDefinition
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (43)
Semantics\LockTests.cs (43)
76var verifier = CompileAndVerify([source, LockTypeDefinition], expectedOutput: "1E2D31E2D3",
177var compilation = CreateCompilation([source, LockTypeDefinition]);
1511var lib = CreateCompilation(LockTypeDefinition)
1628CSharpTestSource sources = [source, LockTypeDefinition];
1655var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify,
1669var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify,
1682var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify,
1712var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify,
1743var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify,
1775var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify,
1893var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify,
1919CreateCompilation([source, LockTypeDefinition]).VerifyDiagnostics(
1942var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe,
2006verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.ReleaseExe,
2082var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe,
2237verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.ReleaseExe,
2391var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe,
2503verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.ReleaseExe,
2611var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe,
2675verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.ReleaseExe,
2750var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe,
2905verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.ReleaseExe,
3055var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe,
3119verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.ReleaseExe,
3194var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe,
3349verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.ReleaseExe,
3504CreateCompilation([source, LockTypeDefinition]).VerifyEmitDiagnostics(
3543var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.ReleaseExe,
3547verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe,
3582var verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.ReleaseExe,
3586verifier = CompileAndVerify([source, LockTypeDefinition], options: TestOptions.DebugExe,
3613CreateCompilationWithTasksExtensions([source, LockTypeDefinition, AsyncStreamsTypes]).VerifyEmitDiagnostics(
3655var comp = CreateCompilationWithTasksExtensions([source, LockTypeDefinition, AsyncStreamsTypes], options: TestOptions.ReleaseExe);
3659comp = CreateCompilationWithTasksExtensions([source, LockTypeDefinition, AsyncStreamsTypes], options: TestOptions.DebugExe);
3696var comp = CreateCompilationWithTasksExtensions([source, LockTypeDefinition, AsyncStreamsTypes], options: TestOptions.DebugExe);
3887comp = CreateCompilationWithTasksExtensions([source, LockTypeDefinition, AsyncStreamsTypes], options: TestOptions.ReleaseExe);
4089var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify,
4134var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify,
4152var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify, expectedOutput: """
4442var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify,
4476CreateCompilation([source, LockTypeDefinition]).VerifyDiagnostics(
4505var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify,
4559var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify,