21 overrides of RequiresSecurityObject
Microsoft.CodeAnalysis.CSharp (18)
Lowering\IteratorRewriter\IteratorFinallyMethodSymbol.cs (1)
115
internal override bool
RequiresSecurityObject
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.SynthesizedMethodBase.cs (1)
185
internal sealed override bool
RequiresSecurityObject
Symbols\ErrorMethodSymbol.cs (1)
232
internal sealed override bool
RequiresSecurityObject
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
825
internal override bool
RequiresSecurityObject
=> false;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
440
internal override bool
RequiresSecurityObject
=> HasFlag(MethodAttributes.RequireSecObject);
Symbols\ReducedExtensionMethodSymbol.cs (1)
313
internal override bool
RequiresSecurityObject
Symbols\SignatureOnlyMethodSymbol.cs (1)
107
internal override bool
RequiresSecurityObject
{ get { throw ExceptionUtilities.Unreachable(); } }
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1242
internal override bool
RequiresSecurityObject
Symbols\Synthesized\SynthesizedDelegateSymbol.cs (1)
138
internal override bool
RequiresSecurityObject
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
82
internal override bool
RequiresSecurityObject
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (1)
113
internal override bool
RequiresSecurityObject
Symbols\Synthesized\SynthesizedImplementationMethod.cs (1)
221
internal sealed override bool
RequiresSecurityObject
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (1)
97
internal sealed override bool
RequiresSecurityObject
Symbols\Synthesized\SynthesizedInteractiveInitializerMethod.cs (1)
198
internal override bool
RequiresSecurityObject
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
176
internal override bool
RequiresSecurityObject
Symbols\Synthesized\SynthesizedSealedPropertyAccessor.cs (1)
328
internal override bool
RequiresSecurityObject
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
330
internal override bool
RequiresSecurityObject
Symbols\Wrapped\WrappedMethodSymbol.cs (1)
207
internal override bool
RequiresSecurityObject
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (3)
Symbols\EEMethodSymbol.cs (1)
288
internal override bool
RequiresSecurityObject
Symbols\PlaceholderMethodSymbol.cs (1)
225
internal override bool
RequiresSecurityObject
Symbols\SynthesizedContextMethodSymbol.cs (1)
179
internal override bool
RequiresSecurityObject
9 references to RequiresSecurityObject
Microsoft.CodeAnalysis.CSharp (5)
Emitter\Model\MethodSymbolAdapter.cs (1)
501
return AdaptedMethodSymbol.
RequiresSecurityObject
;
Lowering\SynthesizedMethodBaseSymbol.cs (1)
189
internal sealed override bool RequiresSecurityObject => InheritsBaseMethodAttributes && BaseMethod.
RequiresSecurityObject
;
Symbols\ReducedExtensionMethodSymbol.cs (1)
315
get { return _reducedFrom.
RequiresSecurityObject
; }
Symbols\Synthesized\SynthesizedImplementationMethod.cs (1)
223
get { return _interfaceMethod.
RequiresSecurityObject
; }
Symbols\Wrapped\WrappedMethodSymbol.cs (1)
211
return UnderlyingMethod.
RequiresSecurityObject
;
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
Attributes\AttributeTests_WellKnownAttributes.cs (3)
5613
Assert.True(method.
RequiresSecurityObject
, "Metadata flag RequiresSecurityObject is not set");
5622
Assert.True(method.
RequiresSecurityObject
, "Metadata flag RequiresSecurityObject is not set");
5665
Assert.True(method.
RequiresSecurityObject
);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
FunctionPointerUtilities.cs (1)
79
Assert.False(symbol.
RequiresSecurityObject
);