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