private RootScopeData GetRootScopeData() { if (_lazyRootScopeData == null) { _lazyRootScopeData = new RootScopeData(this); } return(_lazyRootScopeData); }
public int GetRootScope([MarshalAs(UnmanagedType.Interface)] out ISymUnmanagedScope scope) { if (_lazyRootScopeData == null) { _lazyRootScopeData = new RootScopeData(this); } // SymReader always creates a new scope instance scope = new SymScope(_lazyRootScopeData); return(HResult.S_OK); }