using System;
using System.Runtime.InteropServices;
namespace System.Security
{
/// Manages the stack walk that determines whether all callers in the call stack have the required permissions to access a protected resource.
// Token: 0x020005C4 RID: 1476
[ComVisible(true)]
public interface IStackWalk
{
/// Asserts that the calling code can access the resource identified by the current permission object, even if callers higher in the stack have not been granted permission to access the resource.
/// The calling code does not have .
// Token: 0x060035CC RID: 13772
void Assert();
/// Determines at run time whether all callers in the call stack have been granted the permission specified by the current permission object.
/// A caller higher in the call stack does not have the permission specified by the current permission object.-or- A caller in the call stack has called on the current permission object.
// Token: 0x060035CD RID: 13773
void Demand();
/// Causes every for the current object that passes through the calling code to fail.
// Token: 0x060035CE RID: 13774
void Deny();
/// Causes every for all objects except the current one that passes through the calling code to fail, even if code higher in the call stack has been granted permission to access other resources.
// Token: 0x060035CF RID: 13775
void PermitOnly();
}
}