16 overrides of IsComImport
Microsoft.CodeAnalysis.CSharp (16)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
206
internal sealed override bool
IsComImport
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
270
internal sealed override bool
IsComImport
Symbols\ErrorTypeSymbol.cs (1)
508
internal sealed override bool
IsComImport
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2221
internal override bool
IsComImport
Symbols\NativeIntegerTypeSymbol.cs (1)
46
internal override bool
IsComImport
=> _underlyingType.IsComImport;
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
372
internal override bool
IsComImport
Symbols\Source\ImplicitNamedTypeSymbol.cs (1)
101
internal override bool
IsComImport
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1346
internal override bool
IsComImport
Symbols\SubstitutedNamedTypeSymbol.cs (1)
431
internal sealed override bool
IsComImport
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
176
internal override bool
IsComImport
=> false;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
853
internal override bool
IsComImport
=> false;
Symbols\Synthesized\SynthesizedContainer.cs (1)
185
internal override bool
IsComImport
=> false;
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
117
internal override bool
IsComImport
=> false;
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
109
internal override bool
IsComImport
=> false;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
107
internal override bool
IsComImport
=> false;
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
90
internal override bool
IsComImport
=> false;
17 references to IsComImport
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Expressions.cs (1)
6889
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)
543
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)
371
if (indexer.ContainingType.
IsComImport
)
Symbols\NativeIntegerTypeSymbol.cs (1)
46
internal override bool IsComImport => _underlyingType.
IsComImport
;
Symbols\ParameterSymbol.cs (1)
164
(refKind == RefKind.Ref && ContainingSymbol.ContainingType.
IsComImport
));
Symbols\PublicModel\NamedTypeSymbol.cs (1)
183
bool INamedTypeSymbol.IsComImport => UnderlyingNamedTypeSymbol.
IsComImport
;
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
374
get { return _underlyingType.
IsComImport
; }
Symbols\Source\SourceMethodSymbolWithAttributes.cs (3)
1475
if (ContainingSymbol is NamedTypeSymbol {
IsComImport
: true, TypeKind: TypeKind.Class or TypeKind.Interface })
1505
&& !this.ContainingType.
IsComImport
)
1743
if (this.ContainingType.
IsComImport
&& this.MethodKind == MethodKind.Constructor)
Symbols\SubstitutedNamedTypeSymbol.cs (1)
433
get { return OriginalDefinition.
IsComImport
; }
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (2)
82
if (_containingType.
IsComImport
)
199
return (object)containingType != null && containingType.
IsComImport
;
Symbols\TypeSymbolExtensions.cs (1)
1654
containingType.
IsComImport
)