16 overrides of IsComImport
Microsoft.CodeAnalysis.CSharp (16)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
206internal sealed override bool IsComImport
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
270internal sealed override bool IsComImport
Symbols\ErrorTypeSymbol.cs (1)
508internal sealed override bool IsComImport
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2220internal override bool IsComImport
Symbols\NativeIntegerTypeSymbol.cs (1)
46internal override bool IsComImport => _underlyingType.IsComImport;
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
372internal override bool IsComImport
Symbols\Source\ImplicitNamedTypeSymbol.cs (1)
101internal override bool IsComImport
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1346internal override bool IsComImport
Symbols\SubstitutedNamedTypeSymbol.cs (1)
430internal sealed override bool IsComImport
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
176internal override bool IsComImport => false;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
853internal override bool IsComImport => false;
Symbols\Synthesized\SynthesizedContainer.cs (1)
185internal override bool IsComImport => false;
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
117internal override bool IsComImport => false;
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
109internal override bool IsComImport => false;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
107internal override bool IsComImport => false;
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
90internal override bool IsComImport => false;
17 references to IsComImport
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Expressions.cs (1)
6889if (!this.InAttributeArgument && !this.InParameterDefaultValue && type.IsComImport)
BoundTree\BoundExpressionExtensions.cs (1)
265return receiverType is NamedTypeSymbol { Kind: SymbolKind.NamedType, IsComImport: true };
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
543return AdaptedNamedTypeSymbol.IsComImport;
Lowering\DiagnosticsPass_Warnings.cs (1)
239!method.ContainingType.IsComImport)
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
1235isComReceiver = receiverNamedType is { IsComImport: true };
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
371if (indexer.ContainingType.IsComImport)
Symbols\NativeIntegerTypeSymbol.cs (1)
46internal override bool IsComImport => _underlyingType.IsComImport;
Symbols\ParameterSymbol.cs (1)
164(refKind == RefKind.Ref && ContainingSymbol.ContainingType.IsComImport));
Symbols\PublicModel\NamedTypeSymbol.cs (1)
183bool INamedTypeSymbol.IsComImport => UnderlyingNamedTypeSymbol.IsComImport;
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
374get { return _underlyingType.IsComImport; }
Symbols\Source\SourceMethodSymbolWithAttributes.cs (3)
1469if (ContainingSymbol is NamedTypeSymbol { IsComImport: true, TypeKind: TypeKind.Class or TypeKind.Interface }) 1499&& !this.ContainingType.IsComImport) 1737if (this.ContainingType.IsComImport && this.MethodKind == MethodKind.Constructor)
Symbols\SubstitutedNamedTypeSymbol.cs (1)
432get { return OriginalDefinition.IsComImport; }
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (2)
82if (_containingType.IsComImport) 199return (object)containingType != null && containingType.IsComImport;
Symbols\TypeSymbolExtensions.cs (1)
1654containingType.IsComImport)