Search Results for

    Show / Hide Table of Contents

    Struct SourceProductionContext

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.GetType()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Microsoft.CodeAnalysis
    Assembly: Microsoft.CodeAnalysis.dll
    Syntax
    public readonly struct SourceProductionContext

    Properties

    CancellationToken

    Declaration
    public CancellationToken CancellationToken { get; }
    Property Value
    Type Description
    CancellationToken

    Methods

    AddSource(string, SourceText)

    Declaration
    public void AddSource(string hintName, SourceText sourceText)
    Parameters
    Type Name Description
    string hintName
    SourceText sourceText

    AddSource(string, string)

    Declaration
    public void AddSource(string hintName, string source)
    Parameters
    Type Name Description
    string hintName
    string source

    ReportDiagnostic(Diagnostic)

    Declaration
    public void ReportDiagnostic(Diagnostic diagnostic)
    Parameters
    Type Name Description
    Diagnostic diagnostic
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0