17 references to Import
ILAssembler (1)
GrammarVisitor.cs (1)
1041return new((new(TypeAttributes.Import), null, false));
ILCompiler.ReadyToRun (1)
Compiler\DependencyAnalysis\ReadyToRun\DevirtualizationManager.cs (1)
152if ((ecmaType.Attributes & System.Reflection.TypeAttributes.Import) != 0)
ILCompiler.TypeSystem (2)
parent\parent\Common\TypeSystem\Ecma\EcmaType.TypeEquivalence.cs (2)
18if (IsInterface && _typeDefinition.Attributes.HasFlag(TypeAttributes.Import)) 140return _typeDefinition.Attributes.HasFlag(TypeAttributes.Import);
Microsoft.CodeAnalysis (2)
PEWriter\MetadataWriter.cs (1)
1513result |= TypeAttributes.Import;
Symbols\INamedTypeSymbol.cs (1)
56/// <see cref="TypeAttributes.Import"/> and <see cref="ComImportAttribute"/>
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2833return (_flags & TypeAttributes.Import) != 0;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
1068Return (_flags And TypeAttributes.Import) <> 0
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\RuntimeCustomAttributeData.cs (2)
1514if ((type.Attributes & TypeAttributes.Import) != 0) 1533if ((type.Attributes & TypeAttributes.Import) != 0)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Type.cs (1)
98public bool IsImport => (GetAttributeFlagsImpl() & TypeAttributes.Import) != 0;
System.Reflection.Emit (2)
System\Reflection\Emit\TypeBuilderImpl.cs (2)
477_attributes |= TypeAttributes.Import; 644return ((GetAttributeFlagsImpl() & TypeAttributes.Import) != 0) ? true : false;
System.Reflection.Metadata (3)
System\Reflection\Metadata\TypeSystem\TypeDefinition.cs (3)
224flags |= TypeAttributes.WindowsRuntime | TypeAttributes.Import; 236flags = flags & ~TypeAttributes.Public | TypeAttributes.Import; 240flags = flags & ~TypeAttributes.Public | TypeAttributes.Import;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (1)
70if (0 != (Attributes & TypeAttributes.Import))