logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class MigrationLineScannerTests

    Tests for Serenity.Global.Infrastructure.Editor.Migration.Core.MigrationLineScanner: comments and string/char literals must be invisible to the migration regexes, and the masked text must stay index-compatible with the original.

    Inheritance
    object
    MigrationLineScannerTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Migration.Tests.Editor
    Assembly: Serenity.Migration.Tests.Editor.dll
    Syntax
    public class MigrationLineScannerTests

    Constructors

    MigrationLineScannerTests()

    Declaration
    public MigrationLineScannerTests()

    Methods

    LineOfIndex_Returns1BasedLines()

    Declaration
    public void LineOfIndex_Returns1BasedLines()

    Mask_HidesBlockComments()

    Declaration
    public void Mask_HidesBlockComments()

    Mask_HidesCharLiterals_AndEscapedQuoteInString()

    Declaration
    public void Mask_HidesCharLiterals_AndEscapedQuoteInString()

    Mask_HidesDocComments()

    Declaration
    public void Mask_HidesDocComments()

    Mask_HidesInterpolatedStrings()

    Declaration
    public void Mask_HidesInterpolatedStrings()

    Mask_HidesLineComments()

    Declaration
    public void Mask_HidesLineComments()

    Mask_HidesStringLiterals()

    Declaration
    public void Mask_HidesStringLiterals()

    Mask_HidesVerbatimStrings_WithEscapedQuotes()

    Declaration
    public void Mask_HidesVerbatimStrings_WithEscapedQuotes()

    Mask_KeepsCodeOutsideLiterals()

    Declaration
    public void Mask_KeepsCodeOutsideLiterals()

    Mask_PreservesLength_AndNewlines()

    Declaration
    public void Mask_PreservesLength_AndNewlines()
    In this article
    © 2026 Serenity. All Rights Reserved