35 references to Demand
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Attributes\AttributeData.cs (1)
413
case (int)DeclarativeSecurityAction.
Demand
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (18)
Attributes\AttributeTests_Security.cs (18)
675
ActionFlags = DeclarativeSecurityAction.
Demand
,
728
ActionFlags = DeclarativeSecurityAction.
Demand
,
771
ActionFlags = DeclarativeSecurityAction.
Demand
,
809
ActionFlags = DeclarativeSecurityAction.
Demand
,
849
ActionFlags = DeclarativeSecurityAction.
Demand
,
902
ActionFlags = DeclarativeSecurityAction.
Demand
,
954
ActionFlags = DeclarativeSecurityAction.
Demand
,
1014
ActionFlags = DeclarativeSecurityAction.
Demand
,
1080
ActionFlags = DeclarativeSecurityAction.
Demand
,
1099
ActionFlags = DeclarativeSecurityAction.
Demand
,
1142
ActionFlags = DeclarativeSecurityAction.
Demand
,
1161
ActionFlags = DeclarativeSecurityAction.
Demand
,
1248
ActionFlags = DeclarativeSecurityAction.
Demand
,
1267
ActionFlags = DeclarativeSecurityAction.
Demand
,
1325
ActionFlags = DeclarativeSecurityAction.
Demand
,
1344
ActionFlags = DeclarativeSecurityAction.
Demand
,
1405
ActionFlags = DeclarativeSecurityAction.
Demand
,
1443
ActionFlags = DeclarativeSecurityAction.
Demand
,
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Attributes\AttributeData.vb (1)
311
DeclarativeSecurityAction.
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
,
3317
Assert.Equal(DeclarativeSecurityAction.
Demand
, securityAttribute.Action)
3321
typeAttribute.VerifyValue(0, TypedConstantKind.Enum, CInt(DeclarativeSecurityAction.
Demand
))
3342
Assert.Equal(DeclarativeSecurityAction.
Demand
, securityAttribute.Action)
3346
methodAttribute.VerifyValue(0, TypedConstantKind.Enum, CInt(DeclarativeSecurityAction.
Demand
))