class · System

Environment

public class System.Environment : System.Any
Kind
class
Namespace
System
Assembly
System.Core
Access
public, static, abstract
Source file
Runtime.ant

Inheritance

Base classes
Any Environment

Properties

static property NewLine: System.String<u8>
#

static read-only

static property TickCount64: i64
#

static read-only

Milliseconds from an arbitrary start (it only goes forward).

static property ProcessorCount: i32
#

static read-only

How many processors the program can run on.

static property CurrentManagedThreadId: i32
#

static read-only

The number of the thread that asks (1: the program's first).

Methods

static method GetCommandLineArgs() -> System.List<System.String<u8>>
#

static

The program's arguments (not its own name).

static method GetEnvironmentVariable(name: System.String<u8>) -> System.String<u8>?
#

static

An environment variable, or null when it is not set.

Private and internal members (8)

static method ArgumentCount() -> i64
#

private static

static method ArgumentLength(index: i64) -> i64
#

private static

static method ArgumentUnit(index: i64, at: i64) -> i64
#

private static

static method VariableInto(name: u16[]) -> i64
#

private static

static method VariableUnit(index: i64) -> i64
#

private static

static method Now() -> i64
#

private static

static method Processors() -> i64
#

private static

static method ThreadNumber() -> i64
#

private static

Inherited members (5)

Source

Environment as Larva HIR, decompiled from its Larva HIR.

System.Environment.hir
public class System.Environment : System.Any
{
    static method ArgumentCount() -> i64
    static method ArgumentLength(index: i64) -> i64
    static method ArgumentUnit(index: i64, at: i64) -> i64
    static method VariableInto(name: u16[]) -> i64
    static method VariableUnit(index: i64) -> i64
    static method Now() -> i64
    static method Processors() -> i64
    static method ThreadNumber() -> i64
    // The program's arguments (not its own name).
    static method GetCommandLineArgs() -> System.List<System.String<u8>>
    // An environment variable, or null when it is not set.
    static method GetEnvironmentVariable(name: System.String<u8>) -> System.String<u8>?
    static property NewLine: System.String<u8>
    // Milliseconds from an arbitrary start (it only goes forward).
    static property TickCount64: i64
    // How many processors the program can run on.
    static property ProcessorCount: i32
    // The number of the thread that asks (1: the program's first).
    static property CurrentManagedThreadId: i32
}
Esc