7 writes to Kinds
Microsoft.CodeAnalysis (2)
Emit\MethodInstrumentation.cs (1)
16Kinds = ImmutableArray<InstrumentationKind>.Empty,
Emit\SemanticEdit.cs (1)
211Instrumentation = new MethodInstrumentation() { Kinds = instrumentationKinds };
Microsoft.CodeAnalysis.CSharp (1)
Emitter\Model\PEModuleBuilder.cs (1)
506=> new MethodInstrumentation { Kinds = EmitOptions.InstrumentationKinds };
Microsoft.CodeAnalysis.UnitTests (3)
Emit\SemanticEditTests.cs (3)
38var instrumentation = new MethodInstrumentation() { Kinds = ImmutableArray.Create(InstrumentationKind.TestCoverage) }; 47instrumentation: new MethodInstrumentation() { Kinds = ImmutableArray.Create(InstrumentationKindExtensions.LocalStateTracing) })); 50instrumentation: new MethodInstrumentation() { Kinds = ImmutableArray.Create((InstrumentationKind)123) }));
Microsoft.CodeAnalysis.VisualBasic (1)
Emit\PEModuleBuilder.vb (1)
325Return New MethodInstrumentation() With {.Kinds = EmitOptions.InstrumentationKinds}
13 references to Kinds
Microsoft.CodeAnalysis (4)
Emit\MethodInstrumentation.cs (2)
25=> Kinds.IsDefault; 28=> Kinds.IsEmpty;
Emit\SemanticEdit.cs (2)
182foreach (var instrumentationKind in instrumentation.Kinds) 186throw new ArgumentOutOfRangeException(nameof(MethodInstrumentation.Kinds), string.Format(CodeAnalysisResources.InvalidInstrumentationKind, instrumentationKind));
Microsoft.CodeAnalysis.CSharp (7)
Compiler\MethodCompiler.cs (1)
354if (_emittingPdb || instrumentation.Kinds.Contains(InstrumentationKind.TestCoverage))
Lowering\AsyncRewriter\AsyncRewriter.cs (1)
145if (instrumentations.Kinds.Contains(InstrumentationKindExtensions.LocalStateTracing))
Lowering\IteratorRewriter\IteratorRewriter.cs (1)
180if (instrumentations.Kinds.Contains(InstrumentationKindExtensions.LocalStateTracing))
Lowering\LocalRewriter\LocalRewriter.cs (4)
113if (instrumentation.Kinds.Contains(InstrumentationKindExtensions.LocalStateTracing) && 120if (instrumentation.Kinds.Contains(InstrumentationKind.TestCoverage) && 127if (instrumentation.Kinds.Contains(InstrumentationKind.StackOverflowProbing) && 134if (instrumentation.Kinds.Contains(InstrumentationKind.ModuleCancellation) &&
Microsoft.CodeAnalysis.VisualBasic (2)
Compilation\MethodCompiler.vb (1)
114If _emittingPdb OrElse instrumentations.Kinds.Contains(InstrumentationKind.TestCoverage) Then
Lowering\Rewriter.vb (1)
51If(Not isBodySynthesized AndAlso instrumentations.Kinds.Contains(InstrumentationKind.TestCoverage),