Class GlobalInitializerFailure
- Namespace
- ShadowDusk.HLSL
- Assembly
- ShadowDusk.HLSL.dll
A global initializer the reader found but could not turn into a default.
public sealed record GlobalInitializerFailure : IEquatable<GlobalInitializerFailure>
- Inheritance
-
GlobalInitializerFailure
- Implements
- Inherited Members
Constructors
GlobalInitializerFailure(string, string, int, int, string)
A global initializer the reader found but could not turn into a default.
public GlobalInitializerFailure(string Name, string File, int Line, int Column, string Reason)
Parameters
NamestringThe declared name.
FilestringThe author's file the declaration is in.
LineintThe 1-based line of the declared name.
ColumnintThe 1-based column of the declared name.
ReasonstringWhy the initializer could not be evaluated.
Properties
Column
The 1-based column of the declared name.
public int Column { get; init; }
Property Value
File
The author's file the declaration is in.
public string File { get; init; }
Property Value
Line
The 1-based line of the declared name.
public int Line { get; init; }
Property Value
Name
The declared name.
public string Name { get; init; }
Property Value
Reason
Why the initializer could not be evaluated.
public string Reason { get; init; }