Search Results for

    Show / Hide Table of Contents

    Class DiagnosticAnalyzerExtensions

    Inheritance
    object
    DiagnosticAnalyzerExtensions
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    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 static class DiagnosticAnalyzerExtensions

    Methods

    WithAnalyzers(Compilation, ImmutableArray<DiagnosticAnalyzer>, AnalyzerOptions?)

    Declaration
    public static CompilationWithAnalyzers WithAnalyzers(this Compilation compilation, ImmutableArray<DiagnosticAnalyzer> analyzers, AnalyzerOptions? options = null)
    Parameters
    Type Name Description
    Compilation compilation
    ImmutableArray<DiagnosticAnalyzer> analyzers
    AnalyzerOptions options
    Returns
    Type Description
    CompilationWithAnalyzers

    WithAnalyzers(Compilation, ImmutableArray<DiagnosticAnalyzer>, CompilationWithAnalyzersOptions)

    Declaration
    public static CompilationWithAnalyzers WithAnalyzers(this Compilation compilation, ImmutableArray<DiagnosticAnalyzer> analyzers, CompilationWithAnalyzersOptions analysisOptions)
    Parameters
    Type Name Description
    Compilation compilation
    ImmutableArray<DiagnosticAnalyzer> analyzers
    CompilationWithAnalyzersOptions analysisOptions
    Returns
    Type Description
    CompilationWithAnalyzers
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0