16 overrides of IsComImport
Microsoft.CodeAnalysis.CSharp (16)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
214internal sealed override bool IsComImport
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
278internal sealed override bool IsComImport
Symbols\ErrorTypeSymbol.cs (1)
516internal sealed override bool IsComImport
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2475internal override bool IsComImport
Symbols\NativeIntegerTypeSymbol.cs (1)
47internal override bool IsComImport => _underlyingType.IsComImport;
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
409internal override bool IsComImport
Symbols\Source\ImplicitNamedTypeSymbol.cs (1)
101internal override bool IsComImport
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1354internal override bool IsComImport
Symbols\SubstitutedNamedTypeSymbol.cs (1)
435internal sealed override bool IsComImport
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
184internal override bool IsComImport => false;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
861internal override bool IsComImport => false;
Symbols\Synthesized\SynthesizedContainer.cs (1)
184internal override bool IsComImport => false;
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
125internal override bool IsComImport => false;
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
115internal override bool IsComImport => false;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
115internal override bool IsComImport => false;
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
98internal override bool IsComImport => false;
17 references to IsComImport
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Expressions.cs (1)
6940if (!this.InAttributeArgument && !this.InParameterDefaultValue && type.IsComImport)
BoundTree\BoundExpressionExtensions.cs (1)
265return receiverType is NamedTypeSymbol { Kind: SymbolKind.NamedType, IsComImport: true };
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
544return 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)
429if (indexer.ContainingType.IsComImport)
Symbols\NativeIntegerTypeSymbol.cs (1)
47internal override bool IsComImport => _underlyingType.IsComImport;
Symbols\ParameterSymbol.cs (1)
169(refKind == RefKind.Ref && ContainingSymbol.ContainingType.IsComImport));
Symbols\PublicModel\NamedTypeSymbol.cs (1)
183bool INamedTypeSymbol.IsComImport => UnderlyingNamedTypeSymbol.IsComImport;
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
411get { return _underlyingType.IsComImport; }
Symbols\Source\SourceMethodSymbolWithAttributes.cs (3)
1476if (ContainingSymbol is NamedTypeSymbol { IsComImport: true, TypeKind: TypeKind.Class or TypeKind.Interface }) 1506&& !this.ContainingType.IsComImport) 1744if (this.ContainingType.IsComImport && this.MethodKind == MethodKind.Constructor)
Symbols\SubstitutedNamedTypeSymbol.cs (1)
437get { return OriginalDefinition.IsComImport; }
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (2)
82if (_containingType.IsComImport) 199return (object)containingType != null && containingType.IsComImport;
Symbols\TypeSymbolExtensions.cs (1)
1655containingType.IsComImport)