50 references to InstrumentationHelperSource
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (48)
Emit\DynamicAnalysis\DynamicInstrumentationTests.cs (48)
275
CompilationVerifier verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput);
471
CompilationVerifier verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput);
678
CompilationVerifier verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput, options: TestOptions.ReleaseExe);
682
verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput, options: TestOptions.DebugExe);
712
" +
InstrumentationHelperSource
;
854
CompilationVerifier verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput, options: TestOptions.ReleaseExe);
856
verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput, options: TestOptions.DebugExe);
910
" +
InstrumentationHelperSource
;
1029
CompilationVerifier verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput, options: TestOptions.ReleaseExe);
1031
verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput, options: TestOptions.DebugExe);
1128
CompilationVerifier verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput);
1225
CompilationVerifier verifier = CompileAndVerify(source +
InstrumentationHelperSource
, options: TestOptions.UnsafeDebugExe, expectedOutput: expectedOutput, verify: Verification.Fails);
1414
CompilationVerifier verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput);
1506
CompilationVerifier verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput);
1586
CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput);
1661
CompilationVerifier verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput);
1750
CompilationVerifier verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput);
1827
CompilationVerifier verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput);
1932
CompilationVerifier verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput);
2020
CompilationVerifier verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput);
2131
CompilationVerifier verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput);
2282
CompilationVerifier verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput);
2407
CompilationVerifier verifier = CompileAndVerify(source +
InstrumentationHelperSource
, expectedOutput: expectedOutput);
2450
ImmutableArray<Diagnostic> diagnostics = CreateEmptyCompilation(source +
InstrumentationHelperSource
).GetEmitDiagnostics(EmitOptions.Default.WithInstrumentationKinds(ImmutableArray.Create(InstrumentationKind.TestCoverage)));
2478
var verifier = CompileAndVerify(source +
InstrumentationHelperSource
, options: TestOptions.ReleaseDll);
2499
var verifier = CompileAndVerify(source +
InstrumentationHelperSource
, options: TestOptions.ReleaseDll);
2519
var verifier = CompileAndVerify(source +
InstrumentationHelperSource
, options: TestOptions.ReleaseDll);
2538
var verifier = CompileAndVerify(source +
InstrumentationHelperSource
, options: TestOptions.ReleaseDll);
2567
var verifier = CompileAndVerify(source +
InstrumentationHelperSource
,
2597
var verifier = CompileAndVerify(source +
InstrumentationHelperSource
,
2644
var verifier = CompileAndVerify(source +
InstrumentationHelperSource
,
2677
var verifier = CompileAndVerify(source +
InstrumentationHelperSource
, options: TestOptions.ReleaseDll);
2711
var verifier = CompileAndVerify(source +
InstrumentationHelperSource
, options: TestOptions.ReleaseDll);
2749
var verifier = CompileAndVerify(source +
InstrumentationHelperSource
, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
2794
var verifier = CompileAndVerify(source +
InstrumentationHelperSource
, options: TestOptions.ReleaseDll);
2863
var verifier = CompileAndVerify(source +
InstrumentationHelperSource
, options: TestOptions.ReleaseDll);
2893
var verifier = CompileAndVerify(source +
InstrumentationHelperSource
, options: TestOptions.ReleaseDll);
2922
var verifier = CompileAndVerify(source +
InstrumentationHelperSource
+ IsExternalInitTypeDefinition,
2958
var c = CreateCompilationWithMscorlib40(source +
InstrumentationHelperSource
, options: TestOptions.ReleaseDll);
2994
var c = CreateCompilationWithMscorlib40(source +
InstrumentationHelperSource
, options: TestOptions.ReleaseDll);
3052
" +
InstrumentationHelperSource
;
3209
" +
InstrumentationHelperSource
;
3278
" +
InstrumentationHelperSource
;
3402
" +
InstrumentationHelperSource
;
3528
" +
InstrumentationHelperSource
;
3591
" +
InstrumentationHelperSource
;
3645
var verifier = CompileAndVerify(source +
InstrumentationHelperSource
, options: TestOptions.ReleaseDll);
3672
var verifier = CompileAndVerify(source +
InstrumentationHelperSource
, options: TestOptions.ReleaseDll);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\LocalStateTracing\LocalStateTracingTests.cs (2)
226
") + CSharpInstrumentationChecker.
InstrumentationHelperSource
;
359
") + CSharpInstrumentationChecker.
InstrumentationHelperSource
;