RuntimeSupport Members
Supports the XRT engine infrastructure.
The following tables list the members exposed by the RuntimeSupport type.
Public Properties
Name | Description | |
---|---|---|
RunningUnderXrt | Determines whether the caller is executed under XRT. |
Top
Public Methods
Name | Description | |
---|---|---|
AppendList | Append two runtime lists. | |
Assert | Overloaded. | |
Assume | Overloaded. | |
AssumeInDomain | Assumes that a value is one of the given domain. | |
AssumeInvariant | Assumes the given condition globally for all execution paths. | |
BuiltinEquals | When running under XRT, performs built equality computation. When running under the CLR, simulates XRT's behavior. | |
BuiltinHashCode | When running under XRT, performs builtin hashcode computation. When running under the CLR, simulates the semantics of XRT's builtin hashcode computation. | |
ChooseMapDomainValue | Choose a unique domain element. | |
Create | Creates a value with non-public constructor/fields | |
CreateAuxiliaryFunctionApplication | This method supports the exploration infrastructure and is not intended to be used directly from your code. | |
CreateChoicePoint | ||
Describe | Describes a (possibly symbolic) value. | |
EngineDebuggerBreak | This method supports the exploration infrastructure and is not intended to be used directly from your code. | |
GetEnumerationAsArray | Converts an enumerable to array. | |
GetInstances | When running under XRT, returns the living instances of type T. When not running under XRT, returns null. |
|
GetListCount | Get the number of elements in a runtime list. | |
GetListHead | Get the head of a runtime list. | |
GetListTail | Get the tail of a runtime list. | |
GetMapCount | Get the number of elements in the map. | |
GetNativeRuntimeMapContent | Returns a reference to the underlying dictionary of a native version of a runtime map. Must not be executed when running under XRT. | |
GetVariableName | Get the name of the given variable. At Xrt runtime, if the given value is not a variable, ArgumentException will be thrown. | |
Ground | Ensures that a value is ground. | |
IsGround | Determines if a value is ground. | |
IsNullOrEmpty | ||
IsShallowGround | Determines if a value is shallow ground. | |
MakeList | Construct a runtime list cell from head and tail. | |
MakeMap | Creates a new runtime map. | |
MakeMapElement | Creates an element for a runtime map. | |
MakeNativeRuntimeMap | Creates a new native version of a runtime map based on given dictionary content. Must not be executed when running under XRT. | |
Quantifier | Creates a quantifier of given kind with given bounds. Typically, the bounds are symbolic values which have been obtained with Value. This is used to express data type invariants. | |
RepresentationCompare | When running under XRT, realizes a linear order on the representation of values which subsumes built-in equality. When running under the CLR, does comparison of hash codes, which might not subsume built-in equality. |
|
SelectList | Select element at index from runtime list. | |
SelectMap | Select from a runtime map. Returns null if not present. | |
SplitMap | Splits the map into a head and rest. | |
TryGround | Grounds a symbolic value if possible, otherwise keeps like is. | |
UpdateMap | Updates a runtime map. Use null as element to remove. | |
Value | Creates a symbolic value. |
Top