2 writes to InstrumentationKinds
Microsoft.CodeAnalysis (2)
Emit\EmitOptions.cs (2)
245InstrumentationKinds = instrumentationKinds.NullToEmpty(); 531return new EmitOptions(this) { InstrumentationKinds = instrumentationKinds };
25 references to InstrumentationKinds
Microsoft.CodeAnalysis (9)
Compilation\Compilation.cs (1)
3288emitOptions.InstrumentationKinds.Contains(InstrumentationKind.TestCoverage),
Compilation\DeterministicKeyBuilder.cs (2)
400if (!options.InstrumentationKinds.IsDefault) 402foreach (var kind in options.InstrumentationKinds)
Emit\EmitOptions.cs (6)
263other.InstrumentationKinds, 298InstrumentationKinds.NullToEmpty().SequenceEqual(other.InstrumentationKinds.NullToEmpty(), (a, b) => a == b) && 317Hash.Combine(Hash.CombineValues(InstrumentationKinds), 339foreach (var instrumentationKind in InstrumentationKinds) 526if (InstrumentationKinds == instrumentationKinds)
Microsoft.CodeAnalysis.UnitTests (2)
Emit\EmitOptionsTests.cs (2)
67TestProperty((old, value) => old.WithInstrumentationKinds(value), opt => opt.InstrumentationKinds, ImmutableArray.Create(InstrumentationKind.TestCoverage)); 93nameof(EmitOptions.InstrumentationKinds),
Microsoft.CodeAnalysis.VisualBasic (1)
Emit\PEModuleBuilder.vb (1)
325Return New MethodInstrumentation() With {.Kinds = EmitOptions.InstrumentationKinds}
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (13)
CommandLineTests.vb (13)
866Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({})) 870Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({})) 874Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({})) 878Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({})) 882Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({})) 886Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({})) 890Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({})) 894Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({InstrumentationKind.TestCoverage})) 898Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({InstrumentationKind.TestCoverage})) 902Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({InstrumentationKind.TestCoverage})) 906Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({InstrumentationKind.TestCoverage})) 910Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({InstrumentationKind.TestCoverage})) 914Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({InstrumentationKind.TestCoverage}))