Search Results for

    Show / Hide Table of Contents

    Struct LineMapping

    Implements
    IEquatable<LineMapping>
    Inherited Members
    object.GetType()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Microsoft.CodeAnalysis
    Assembly: Microsoft.CodeAnalysis.dll
    Syntax
    public readonly struct LineMapping : IEquatable<LineMapping>

    Constructors

    LineMapping(LinePositionSpan, int?, FileLinePositionSpan)

    Declaration
    public LineMapping(LinePositionSpan span, int? characterOffset, FileLinePositionSpan mappedSpan)
    Parameters
    Type Name Description
    LinePositionSpan span
    int? characterOffset
    FileLinePositionSpan mappedSpan

    Properties

    CharacterOffset

    Declaration
    public int? CharacterOffset { get; }
    Property Value
    Type Description
    int?

    IsHidden

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

    MappedSpan

    Declaration
    public FileLinePositionSpan MappedSpan { get; }
    Property Value
    Type Description
    FileLinePositionSpan

    Span

    Declaration
    public LinePositionSpan Span { get; }
    Property Value
    Type Description
    LinePositionSpan

    Methods

    Equals(LineMapping)

    Declaration
    public bool Equals(LineMapping other)
    Parameters
    Type Name Description
    LineMapping other
    Returns
    Type Description
    bool

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()

    ToString()

    Declaration
    public override string? ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()

    Operators

    operator ==(LineMapping, LineMapping)

    Declaration
    public static bool operator ==(LineMapping left, LineMapping right)
    Parameters
    Type Name Description
    LineMapping left
    LineMapping right
    Returns
    Type Description
    bool

    operator !=(LineMapping, LineMapping)

    Declaration
    public static bool operator !=(LineMapping left, LineMapping right)
    Parameters
    Type Name Description
    LineMapping left
    LineMapping right
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0