Search Results for

    Show / Hide Table of Contents

    Class CompilationWithAnalyzersOptions

    Inheritance
    object
    CompilationWithAnalyzersOptions
    Inherited Members
    object.GetType()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Microsoft.CodeAnalysis.Diagnostics
    Assembly: Microsoft.CodeAnalysis.dll
    Syntax
    public sealed class CompilationWithAnalyzersOptions

    Constructors

    CompilationWithAnalyzersOptions(AnalyzerOptions, Action<Exception, DiagnosticAnalyzer, Diagnostic>?, bool, bool)

    Declaration
    public CompilationWithAnalyzersOptions(AnalyzerOptions options, Action<Exception, DiagnosticAnalyzer, Diagnostic>? onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime)
    Parameters
    Type Name Description
    AnalyzerOptions options
    Action<Exception, DiagnosticAnalyzer, Diagnostic> onAnalyzerException
    bool concurrentAnalysis
    bool logAnalyzerExecutionTime

    CompilationWithAnalyzersOptions(AnalyzerOptions, Action<Exception, DiagnosticAnalyzer, Diagnostic>?, bool, bool, bool)

    Declaration
    public CompilationWithAnalyzersOptions(AnalyzerOptions options, Action<Exception, DiagnosticAnalyzer, Diagnostic>? onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime, bool reportSuppressedDiagnostics)
    Parameters
    Type Name Description
    AnalyzerOptions options
    Action<Exception, DiagnosticAnalyzer, Diagnostic> onAnalyzerException
    bool concurrentAnalysis
    bool logAnalyzerExecutionTime
    bool reportSuppressedDiagnostics

    CompilationWithAnalyzersOptions(AnalyzerOptions?, Action<Exception, DiagnosticAnalyzer, Diagnostic>?, bool, bool, bool, Func<Exception, bool>?)

    Declaration
    public CompilationWithAnalyzersOptions(AnalyzerOptions? options, Action<Exception, DiagnosticAnalyzer, Diagnostic>? onAnalyzerException, bool concurrentAnalysis, bool logAnalyzerExecutionTime, bool reportSuppressedDiagnostics, Func<Exception, bool>? analyzerExceptionFilter)
    Parameters
    Type Name Description
    AnalyzerOptions options
    Action<Exception, DiagnosticAnalyzer, Diagnostic> onAnalyzerException
    bool concurrentAnalysis
    bool logAnalyzerExecutionTime
    bool reportSuppressedDiagnostics
    Func<Exception, bool> analyzerExceptionFilter

    Properties

    AnalyzerExceptionFilter

    Declaration
    public Func<Exception, bool>? AnalyzerExceptionFilter { get; }
    Property Value
    Type Description
    Func<Exception, bool>

    ConcurrentAnalysis

    Declaration
    public bool ConcurrentAnalysis { get; }
    Property Value
    Type Description
    bool

    LogAnalyzerExecutionTime

    Declaration
    public bool LogAnalyzerExecutionTime { get; }
    Property Value
    Type Description
    bool

    OnAnalyzerException

    Declaration
    public Action<Exception, DiagnosticAnalyzer, Diagnostic>? OnAnalyzerException { get; }
    Property Value
    Type Description
    Action<Exception, DiagnosticAnalyzer, Diagnostic>

    Options

    Declaration
    public AnalyzerOptions? Options { get; }
    Property Value
    Type Description
    AnalyzerOptions

    ReportSuppressedDiagnostics

    Declaration
    public bool ReportSuppressedDiagnostics { get; }
    Property Value
    Type Description
    bool
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0