16 overrides of IsComImport
Microsoft.CodeAnalysis.CSharp (16)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
221
internal sealed override bool
IsComImport
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
281
internal sealed override bool
IsComImport
Symbols\ErrorTypeSymbol.cs (1)
523
internal sealed override bool
IsComImport
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2829
internal override bool
IsComImport
Symbols\NativeIntegerTypeSymbol.cs (1)
48
internal override bool
IsComImport
=> _underlyingType.IsComImport;
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
415
internal override bool
IsComImport
Symbols\Source\ImplicitNamedTypeSymbol.cs (1)
101
internal override bool
IsComImport
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1371
internal override bool
IsComImport
Symbols\SubstitutedNamedTypeSymbol.cs (1)
439
internal sealed override bool
IsComImport
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
199
internal override bool
IsComImport
=> false;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
912
internal override bool
IsComImport
=> false;
Symbols\Synthesized\SynthesizedContainer.cs (1)
191
internal override bool
IsComImport
=> false;
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
132
internal override bool
IsComImport
=> false;
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
130
internal override bool
IsComImport
=> false;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
120
internal override bool
IsComImport
=> false;
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
103
internal override bool
IsComImport
=> false;
18 references to IsComImport
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Expressions.cs (1)
7096
if (!this.InAttributeArgument && !this.InParameterDefaultValue && type.
IsComImport
)
BoundTree\BoundExpressionExtensions.cs (1)
275
return receiverType is NamedTypeSymbol { Kind: SymbolKind.NamedType,
IsComImport
: true };
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
546
return AdaptedNamedTypeSymbol.
IsComImport
;
Emitter\NoPia\EmbeddedType.cs (1)
174
return UnderlyingNamedType.AdaptedNamedTypeSymbol.
IsComImport
;
Lowering\DiagnosticsPass_Warnings.cs (1)
239
!method.ContainingType.
IsComImport
)
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
1320
isComReceiver = receiverNamedType is {
IsComImport
: true };
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
516
if (indexer.ContainingType.
IsComImport
)
Symbols\NativeIntegerTypeSymbol.cs (1)
48
internal override bool IsComImport => _underlyingType.
IsComImport
;
Symbols\ParameterSymbol.cs (1)
169
(refKind == RefKind.Ref && ContainingSymbol.ContainingType.
IsComImport
));
Symbols\PublicModel\NamedTypeSymbol.cs (1)
183
bool INamedTypeSymbol.IsComImport => UnderlyingNamedTypeSymbol.
IsComImport
;
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
417
get { return _underlyingType.
IsComImport
; }
Symbols\Source\SourceMethodSymbolWithAttributes.cs (3)
1487
if (ContainingSymbol is NamedTypeSymbol {
IsComImport
: true, TypeKind: TypeKind.Class or TypeKind.Interface })
1517
&& !this.ContainingType.
IsComImport
)
1757
if (this.ContainingType.
IsComImport
&& this.MethodKind == MethodKind.Constructor)
Symbols\SubstitutedNamedTypeSymbol.cs (1)
441
get { return OriginalDefinition.
IsComImport
; }
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (2)
82
if (_containingType.
IsComImport
)
199
return (object)containingType != null && containingType.
IsComImport
;
Symbols\TypeSymbolExtensions.cs (1)
1739
containingType.
IsComImport
)