1 write to _unmanagedFunctionPointerAttribute
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\InteropServices\DisableRuntimeMarshallingAnalyzer.DisabledRuntimeMarshallingAssemblyAnalyzer.cs (1)
27
_unmanagedFunctionPointerAttribute
= compilation.GetOrCreateTypeByMetadataName(WellKnownTypeNames.SystemRuntimeInteropServicesUnmanagedFunctionPoitnerAttribute);
3 references to _unmanagedFunctionPointerAttribute
Microsoft.CodeAnalysis.NetAnalyzers (3)
Microsoft.NetCore.Analyzers\InteropServices\DisableRuntimeMarshallingAnalyzer.DisabledRuntimeMarshallingAssemblyAnalyzer.cs (3)
54
if (
_unmanagedFunctionPointerAttribute
is not null)
120
Debug.Assert(
_unmanagedFunctionPointerAttribute
is not null);
122
if (type.TypeKind != TypeKind.Delegate || !type.HasAnyAttribute(
_unmanagedFunctionPointerAttribute
))