TestCode Struct
Namespace: Roslynator.Testing
Assembly: Roslynator.Testing.Common.dll
Represents a source code to be tested.
public readonly struct TestCode
Inheritance
Properties
| Property | Summary |
|---|---|
| AdditionalSpans | Gets a collection of spans that represent additional selected text. |
| ExpectedValue | Gets a source code after a code fix or a refactoring was applied. |
| Spans | Gets a collection of spans that represent selected text. |
| Value | Gets a source code that should be tested. |
Methods
| Method | Summary |
|---|---|
| Equals(Object) | (Inherited from ValueType) |
| GetHashCode() | (Inherited from ValueType) |
| GetType() | (Inherited from Object) |
| MemberwiseClone() | (Inherited from Object) |
| Parse(String, String, String) | Finds and replace span that is marked with [\|\|] token. |
| Parse(String) | Finds and removes spans that are marked with [\| and \|] tokens. |
| ToString() | (Inherited from ValueType) |