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