TestFileLocationProperty Class

Definition

Property that represents a file location for a test node.

public sealed class TestFileLocationProperty : Microsoft.Testing.Platform.Extensions.Messages.FileLocationProperty, IEquatable<Microsoft.Testing.Platform.Extensions.Messages.TestFileLocationProperty>
type TestFileLocationProperty = class
    inherit FileLocationProperty
    interface IEquatable<TestFileLocationProperty>
Public NotInheritable Class TestFileLocationProperty
Inherits FileLocationProperty
Implements IEquatable(Of TestFileLocationProperty)
Inheritance
TestFileLocationProperty
Implements

Constructors

Name Description
TestFileLocationProperty(String, LinePositionSpan)

Initializes a new instance of the TestFileLocationProperty class.

Properties

Name Description
EqualityContract (Inherited from FileLocationProperty)
FilePath

Gets the file path.

(Inherited from FileLocationProperty)
LineSpan

Gets the line position span.

(Inherited from FileLocationProperty)

Methods

Name Description
<Clone>$()
Deconstruct(String, LinePositionSpan)
Equals(FileLocationProperty)
Equals(FileLocationProperty) (Inherited from FileLocationProperty)
Equals(Object)

Determines whether the specified object is equal to the current object.

Equals(TestFileLocationProperty)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Serves as the default hash function.

PrintMembers(StringBuilder) (Inherited from FileLocationProperty)
ToString()

Returns a string that represents the current object.

Operators

Name Description
Equality(TestFileLocationProperty, TestFileLocationProperty)
Inequality(TestFileLocationProperty, TestFileLocationProperty)

Applies to