4 instantiations of UnmanagedCallersOnlyAttributeData
Microsoft.CodeAnalysis (4)
Symbols\Attributes\UnmanagedCallersOnlyAttributeData.cs (4)
13
internal static readonly UnmanagedCallersOnlyAttributeData Uninitialized = new
UnmanagedCallersOnlyAttributeData
(callingConventionTypes: ImmutableHashSet<INamedTypeSymbolInternal>.Empty);
14
internal static readonly UnmanagedCallersOnlyAttributeData AttributePresentDataNotBound = new
UnmanagedCallersOnlyAttributeData
(callingConventionTypes: ImmutableHashSet<INamedTypeSymbolInternal>.Empty);
15
private static readonly UnmanagedCallersOnlyAttributeData PlatformDefault = new
UnmanagedCallersOnlyAttributeData
(callingConventionTypes: ImmutableHashSet<INamedTypeSymbolInternal>.Empty);
23
_ => new
UnmanagedCallersOnlyAttributeData
(callingConventionTypes)
10 references to UnmanagedCallersOnlyAttributeData
Microsoft.CodeAnalysis (6)
MetadataReader\PEModule.cs (2)
1394
internal
UnmanagedCallersOnlyAttributeData
? TryGetUnmanagedCallersOnlyAttribute(
1436
return
UnmanagedCallersOnlyAttributeData
.Create(unmanagedConventionTypes);
Symbols\Attributes\UnmanagedCallersOnlyAttributeData.cs (4)
13
internal static readonly
UnmanagedCallersOnlyAttributeData
Uninitialized = new UnmanagedCallersOnlyAttributeData(callingConventionTypes: ImmutableHashSet<INamedTypeSymbolInternal>.Empty);
14
internal static readonly
UnmanagedCallersOnlyAttributeData
AttributePresentDataNotBound = new UnmanagedCallersOnlyAttributeData(callingConventionTypes: ImmutableHashSet<INamedTypeSymbolInternal>.Empty);
15
private static readonly
UnmanagedCallersOnlyAttributeData
PlatformDefault = new UnmanagedCallersOnlyAttributeData(callingConventionTypes: ImmutableHashSet<INamedTypeSymbolInternal>.Empty);
19
internal static
UnmanagedCallersOnlyAttributeData
Create(ImmutableHashSet<INamedTypeSymbolInternal>? callingConventionTypes)
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1609
var
unmanagedCallersOnlyData = containingModule.Module.TryGetUnmanagedCallersOnlyAttribute(_handle, new MetadataDecoder(containingModule),
Symbols\MethodSymbol.cs (3)
112
/// Returns the <see cref="
UnmanagedCallersOnlyAttributeData
"/> data for this method, if there is any. If forceComplete
114
/// <see cref="
UnmanagedCallersOnlyAttributeData
.Uninitialized"/> or
115
/// <see cref="
UnmanagedCallersOnlyAttributeData
.AttributePresentDataNotBound"/> will be returned, respectively.