Class CompilerPredefinedMacroTest
A preprocessor conditional that tested a compiler-predefined macro.
public sealed record CompilerPredefinedMacroTest : IEquatable<CompilerPredefinedMacroTest>
- Inheritance
-
CompilerPredefinedMacroTest
- Implements
- Inherited Members
Constructors
CompilerPredefinedMacroTest(string, string, int)
A preprocessor conditional that tested a compiler-predefined macro.
public CompilerPredefinedMacroTest(string Name, string File, int Line)
Parameters
NamestringThe macro name.
FilestringThe author's file the conditional is in.
LineintIts 1-based line in that file.
Properties
File
The author's file the conditional is in.
public string File { get; init; }
Property Value
Line
Its 1-based line in that file.
public int Line { get; init; }
Property Value
Name
The macro name.
public string Name { get; init; }