11 overrides of CanRequireUnsafe
Microsoft.CodeAnalysis.CSharp (11)
Lowering\SynthesizedMethodBaseSymbol.cs (1)
178
internal sealed override bool
CanRequireUnsafe
=> true;
Symbols\Source\LambdaSymbol.cs (1)
431
internal override bool
CanRequireUnsafe
=> false;
Symbols\Source\LocalFunctionSymbol.cs (1)
424
internal override bool
CanRequireUnsafe
=> true;
Symbols\Source\SourceConstructorSymbol.cs (1)
257
internal sealed override bool
CanRequireUnsafe
=> MethodKind != MethodKind.StaticConstructor;
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
148
internal sealed override bool
CanRequireUnsafe
=> false;
Symbols\Source\SourceDestructorSymbol.cs (1)
107
internal sealed override bool
CanRequireUnsafe
=> false;
Symbols\Source\SourceEventAccessorSymbol.cs (1)
199
internal sealed override bool
CanRequireUnsafe
=> true;
Symbols\Source\SourceOrdinaryMethodOrUserDefinedOperatorSymbol.cs (1)
176
internal sealed override bool
CanRequireUnsafe
=> true;
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
464
internal sealed override bool
CanRequireUnsafe
=> true;
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
100
internal sealed override bool
CanRequireUnsafe
=> false;
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
154
internal sealed override bool
CanRequireUnsafe
1 reference to CanRequireUnsafe
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceMethodSymbol.cs (1)
132
if (!
CanRequireUnsafe
)