35 references to Demand
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Attributes\AttributeData.cs (1)
413case (int)DeclarativeSecurityAction.Demand:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (18)
Attributes\AttributeTests_Security.cs (18)
675ActionFlags = DeclarativeSecurityAction.Demand, 728ActionFlags = DeclarativeSecurityAction.Demand, 771ActionFlags = DeclarativeSecurityAction.Demand, 809ActionFlags = DeclarativeSecurityAction.Demand, 849ActionFlags = DeclarativeSecurityAction.Demand, 902ActionFlags = DeclarativeSecurityAction.Demand, 954ActionFlags = DeclarativeSecurityAction.Demand, 1014ActionFlags = DeclarativeSecurityAction.Demand, 1080ActionFlags = DeclarativeSecurityAction.Demand, 1099ActionFlags = DeclarativeSecurityAction.Demand, 1142ActionFlags = DeclarativeSecurityAction.Demand, 1161ActionFlags = DeclarativeSecurityAction.Demand, 1248ActionFlags = DeclarativeSecurityAction.Demand, 1267ActionFlags = DeclarativeSecurityAction.Demand, 1325ActionFlags = DeclarativeSecurityAction.Demand, 1344ActionFlags = DeclarativeSecurityAction.Demand, 1405ActionFlags = DeclarativeSecurityAction.Demand, 1443ActionFlags = DeclarativeSecurityAction.Demand,
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Attributes\AttributeData.vb (1)
311DeclarativeSecurityAction.Demand,
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (15)
Emit\CompilationEmitTests.vb (15)
2665.ActionFlags = DeclarativeSecurityAction.Demand, 2723.ActionFlags = DeclarativeSecurityAction.Demand, 2769.ActionFlags = DeclarativeSecurityAction.Demand, 2830.ActionFlags = DeclarativeSecurityAction.Demand, 2889.ActionFlags = DeclarativeSecurityAction.Demand, 2955.ActionFlags = DeclarativeSecurityAction.Demand, 3027.ActionFlags = DeclarativeSecurityAction.Demand, 3045.ActionFlags = DeclarativeSecurityAction.Demand, 3094.ActionFlags = DeclarativeSecurityAction.Demand, 3112.ActionFlags = DeclarativeSecurityAction.Demand, 3196.ActionFlags = DeclarativeSecurityAction.Demand, 3317Assert.Equal(DeclarativeSecurityAction.Demand, securityAttribute.Action) 3321typeAttribute.VerifyValue(0, TypedConstantKind.Enum, CInt(DeclarativeSecurityAction.Demand)) 3342Assert.Equal(DeclarativeSecurityAction.Demand, securityAttribute.Action) 3346methodAttribute.VerifyValue(0, TypedConstantKind.Enum, CInt(DeclarativeSecurityAction.Demand))