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