12 overrides of HasUnmanagedTypeConstraint
Microsoft.CodeAnalysis.CSharp (12)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeParameterSymbol.cs (1)
103
public override bool
HasUnmanagedTypeConstraint
Symbols\ErrorTypeSymbol.ErrorTypeParameterSymbol.cs (1)
110
public override bool
HasUnmanagedTypeConstraint
Symbols\Metadata\PE\PETypeParameterSymbol.cs (1)
587
public override bool
HasUnmanagedTypeConstraint
Symbols\Source\CrefTypeParameterSymbol.cs (1)
159
public override bool
HasUnmanagedTypeConstraint
Symbols\Source\IndexedTypeParameterSymbol.cs (1)
174
public override bool
HasUnmanagedTypeConstraint
Symbols\Source\SourceTypeParameterSymbol.cs (3)
574
public override bool
HasUnmanagedTypeConstraint
716
public override bool
HasUnmanagedTypeConstraint
973
public override bool
HasUnmanagedTypeConstraint
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeParameterSymbol.cs (1)
41
public override bool
HasUnmanagedTypeConstraint
=> false;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
233
public override bool
HasUnmanagedTypeConstraint
=> false;
Symbols\SynthesizedSimpleMethodTypeParameterSymbol.cs (1)
81
public override bool
HasUnmanagedTypeConstraint
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
104
public override bool
HasUnmanagedTypeConstraint
16 references to HasUnmanagedTypeConstraint
Microsoft.CodeAnalysis.CSharp (16)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
734
Debug.Assert(type.
HasUnmanagedTypeConstraint
== other.
HasUnmanagedTypeConstraint
);
Emitter\Model\TypeParameterSymbolAdapter.cs (3)
240
if (AdaptedTypeParameterSymbol.
HasUnmanagedTypeConstraint
)
301
return AdaptedTypeParameterSymbol.HasValueTypeConstraint || AdaptedTypeParameterSymbol.
HasUnmanagedTypeConstraint
;
320
return AdaptedTypeParameterSymbol.HasConstructorConstraint || AdaptedTypeParameterSymbol.HasValueTypeConstraint || AdaptedTypeParameterSymbol.
HasUnmanagedTypeConstraint
;
Lowering\LocalRewriter\LocalRewriter.cs (1)
390
if (typeParameters.Any(static typeParameter => typeParameter.
HasUnmanagedTypeConstraint
))
Symbols\ConstraintsHelper.cs (2)
199
if (constraintTypeParameter.
HasUnmanagedTypeConstraint
)
985
if (typeParameter.
HasUnmanagedTypeConstraint
)
Symbols\MemberSignatureComparer.cs (2)
665
(typeParameter1.
HasUnmanagedTypeConstraint
!= typeParameter2.
HasUnmanagedTypeConstraint
) ||
Symbols\PublicModel\TypeParameterSymbol.cs (1)
93
bool ITypeParameterSymbol.HasUnmanagedTypeConstraint => _underlying.
HasUnmanagedTypeConstraint
;
Symbols\Source\SourceTypeParameterSymbol.cs (3)
277
if (this.
HasUnmanagedTypeConstraint
)
389
if (this.
HasUnmanagedTypeConstraint
)
978
return ((object)typeParameter != null) && typeParameter.
HasUnmanagedTypeConstraint
;
Symbols\TypeParameterSymbol.cs (1)
596
return
HasUnmanagedTypeConstraint
? ManagedKind.Unmanaged : ManagedKind.Managed;
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
108
return _underlyingTypeParameter.
HasUnmanagedTypeConstraint
;