Table of Contents

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

Name string

The declared name.

File string

The author's file the declaration is in.

Line int

The 1-based line of the declared name.

Column int

The 1-based column of the declared name.

Reason string

Why the initializer could not be evaluated.

Properties

Column

The 1-based column of the declared name.

public int Column { get; init; }

Property Value

int

File

The author's file the declaration is in.

public string File { get; init; }

Property Value

string

Line

The 1-based line of the declared name.

public int Line { get; init; }

Property Value

int

Name

The declared name.

public string Name { get; init; }

Property Value

string

Reason

Why the initializer could not be evaluated.

public string Reason { get; init; }

Property Value

string