Search Results for

    Show / Hide Table of Contents

    Class SyntaxTreeOptionsProvider

    Inheritance
    object
    SyntaxTreeOptionsProvider
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Microsoft.CodeAnalysis
    Assembly: Microsoft.CodeAnalysis.dll
    Syntax
    public abstract class SyntaxTreeOptionsProvider

    Constructors

    SyntaxTreeOptionsProvider()

    Declaration
    protected SyntaxTreeOptionsProvider()

    Methods

    IsGenerated(SyntaxTree, CancellationToken)

    Declaration
    public abstract GeneratedKind IsGenerated(SyntaxTree tree, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    SyntaxTree tree
    CancellationToken cancellationToken
    Returns
    Type Description
    GeneratedKind

    TryGetDiagnosticValue(SyntaxTree, string, CancellationToken, out ReportDiagnostic)

    Declaration
    public abstract bool TryGetDiagnosticValue(SyntaxTree tree, string diagnosticId, CancellationToken cancellationToken, out ReportDiagnostic severity)
    Parameters
    Type Name Description
    SyntaxTree tree
    string diagnosticId
    CancellationToken cancellationToken
    ReportDiagnostic severity
    Returns
    Type Description
    bool

    TryGetGlobalDiagnosticValue(string, CancellationToken, out ReportDiagnostic)

    Declaration
    public abstract bool TryGetGlobalDiagnosticValue(string diagnosticId, CancellationToken cancellationToken, out ReportDiagnostic severity)
    Parameters
    Type Name Description
    string diagnosticId
    CancellationToken cancellationToken
    ReportDiagnostic severity
    Returns
    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