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