21 overrides of HasDeclarativeSecurity
Microsoft.CodeAnalysis.CSharp (18)
Lowering\IteratorRewriter\IteratorFinallyMethodSymbol.cs (1)
95internal override bool HasDeclarativeSecurity
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.SynthesizedMethodBase.cs (1)
200internal sealed override bool HasDeclarativeSecurity
Symbols\ErrorMethodSymbol.cs (1)
257internal sealed override bool HasDeclarativeSecurity
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
823internal override bool HasDeclarativeSecurity => false;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
455internal override bool HasDeclarativeSecurity => HasFlag(MethodAttributes.HasSecurity);
Symbols\ReducedExtensionMethodSymbol.cs (1)
333internal override bool HasDeclarativeSecurity
Symbols\SignatureOnlyMethodSymbol.cs (1)
113internal override bool HasDeclarativeSecurity { get { throw ExceptionUtilities.Unreachable(); } }
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1251internal override bool HasDeclarativeSecurity
Symbols\Synthesized\SynthesizedDelegateSymbol.cs (1)
118internal override bool HasDeclarativeSecurity
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
265internal override bool HasDeclarativeSecurity
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (1)
134internal override bool HasDeclarativeSecurity
Symbols\Synthesized\SynthesizedImplementationMethod.cs (1)
254internal override bool HasDeclarativeSecurity
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (1)
112internal sealed override bool HasDeclarativeSecurity
Symbols\Synthesized\SynthesizedInteractiveInitializerMethod.cs (1)
183internal override bool HasDeclarativeSecurity
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
145internal override bool HasDeclarativeSecurity
Symbols\Synthesized\SynthesizedSealedPropertyAccessor.cs (1)
346internal override bool HasDeclarativeSecurity
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
353internal override bool HasDeclarativeSecurity
Symbols\Wrapped\WrappedMethodSymbol.cs (1)
228internal override bool HasDeclarativeSecurity
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (3)
Symbols\EEMethodSymbol.cs (1)
263internal override bool HasDeclarativeSecurity
Symbols\PlaceholderMethodSymbol.cs (1)
199internal override bool HasDeclarativeSecurity
Symbols\SynthesizedContextMethodSymbol.cs (1)
164internal override bool HasDeclarativeSecurity
6 references to HasDeclarativeSecurity
Microsoft.CodeAnalysis.CSharp (5)
Emitter\Model\MethodSymbolAdapter.cs (2)
347return AdaptedMethodSymbol.HasDeclarativeSecurity; 356Debug.Assert(AdaptedMethodSymbol.HasDeclarativeSecurity);
Lowering\SynthesizedMethodBaseSymbol.cs (1)
191internal sealed override bool HasDeclarativeSecurity => InheritsBaseMethodAttributes && BaseMethod.HasDeclarativeSecurity;
Symbols\ReducedExtensionMethodSymbol.cs (1)
335get { return _reducedFrom.HasDeclarativeSecurity; }
Symbols\Wrapped\WrappedMethodSymbol.cs (1)
230get { return UnderlyingMethod.HasDeclarativeSecurity; }
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
FunctionPointerUtilities.cs (1)
78Assert.False(symbol.HasDeclarativeSecurity);