<?xml version="1.0" encoding="utf-8"?>

<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">

<Type Name="EA::String">
	<DisplayString>{*mStr}</DisplayString>
    <Expand>
        <ExpandedItem>mStr</ExpandedItem>
    </Expand>
</Type>

<Type Name="EA::Types::Boolean">
    <DisplayString>{mValue}</DisplayString>
</Type>

<Type Name="EA::Types::Number">
    <DisplayString>{mValue}</DisplayString>
</Type>

<Type Name="EA::Types::String">
    <DisplayString>{mValue}</DisplayString>
    <Expand>
        <ExpandedItem>mValue</ExpandedItem>
    </Expand>
</Type>

<Type Name="EA::Types::Function">
    <DisplayString Condition="mDebugInfo.mUnsafePointer == 0">No debug information available</DisplayString>
    <DisplayString>{mDebugInfo}</DisplayString>
    <Expand>
        <ExpandedItem Condition="mDebugInfo.mUnsafePointer != 0">mDebugInfo</ExpandedItem>
    </Expand>
</Type>

<Type Name="EA::Types::Array">
    <DisplayString>{mValue}</DisplayString>
    <Expand>
        <ExpandedItem>mValue</ExpandedItem>
    </Expand>
</Type>

<Type Name="EA::Types::Object">
    <DisplayString>{mValue}</DisplayString>
    <Expand>
        <ExpandedItem>mValue</ExpandedItem>
    </Expand>
</Type>

<Type Name="EA::Types::AutoRefBase&lt;*&gt;">
    <DisplayString Condition="mUnsafePointer == 0">NULL</DisplayString>
    <DisplayString>{*mUnsafePointer}</DisplayString>
    <Expand>
        <ExpandedItem Condition="mUnsafePointer != 0">mUnsafePointer</ExpandedItem>
    </Expand>
</Type>

<Type Name="EA::Types::PtrUserData&lt;*&gt;">
    <DisplayString Condition="mPtr == 0">NULL</DisplayString>
    <DisplayString>{mPtr}</DisplayString>
    <Expand>
        <Item Name="mPtr">mPtr</Item>
    </Expand>
</Type>

</AutoVisualizer>
