SecurityCriticalAttribute sca = new SecurityCriticalAttribute (scs);
Assert.AreEqual (SecurityCriticalScope.Explicit, sca.Scope);
}
SecurityCriticalAttribute sca = new SecurityCriticalAttribute (scs);
Assert.AreEqual (SecurityCriticalScope.Explicit, sca.Scope);
}
AttributeUsageAttribute aua = (AttributeUsageAttribute)attrs [0];
Assert.IsFalse (aua.AllowMultiple, "AllowMultiple");
Assert.IsFalse (aua.Inherited, "Inherited");
AttributeUsageAttribute aua = (AttributeUsageAttribute)attrs [0];
Assert.IsFalse (aua.AllowMultiple, "AllowMultiple");
Assert.IsFalse (aua.Inherited, "Inherited");
AttributeTargets at = (AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Delegate);
AttributeTargets at = (AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Delegate);