7 overrides of GetManagedKind
Microsoft.CodeAnalysis.CSharp (7)
Symbols\ArrayTypeSymbol.cs (1)
238
internal sealed override ManagedKind
GetManagedKind
(ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo) => ManagedKind.Managed;
Symbols\DynamicTypeSymbol.cs (1)
109
internal sealed override ManagedKind
GetManagedKind
(ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo) => ManagedKind.Managed;
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (1)
88
internal override ManagedKind
GetManagedKind
(ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo) => ManagedKind.Unmanaged;
Symbols\FunctionTypeSymbol.cs (1)
154
internal override ManagedKind
GetManagedKind
(ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo) => throw ExceptionUtilities.Unreachable();
Symbols\NamedTypeSymbol.cs (1)
408
internal override ManagedKind
GetManagedKind
(ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
Symbols\PointerTypeSymbol.cs (1)
109
internal sealed override ManagedKind
GetManagedKind
(ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo) => ManagedKind.Unmanaged;
Symbols\TypeParameterSymbol.cs (1)
594
internal sealed override ManagedKind
GetManagedKind
(ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
4 references to GetManagedKind
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Expressions.cs (1)
1495
var managedKind = type.
GetManagedKind
(ref useSiteInfo);
Binder\Binder_Operators.cs (1)
2535
ManagedKind managedKind = operandType.
GetManagedKind
(ref useSiteInfo);
Symbols\ConstraintsHelper.cs (1)
988
var managedKind = typeArgument.Type.
GetManagedKind
(ref useSiteInfo);
Symbols\TypeSymbol.cs (1)
599
internal bool IsManagedType(ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo) =>
GetManagedKind
(ref useSiteInfo) == ManagedKind.Managed;