41 references to Interface
dotnet-svcutil-lib (5)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (1)
1400case TypeAttributes.Interface:
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (1)
3233case TypeAttributes.Interface:
FrameworkFork\Microsoft.CodeDom\System\CodeTypeDeclaration.cs (3)
202return (_attributes & TypeAttributes.ClassSemanticsMask) == TypeAttributes.Interface; 209_attributes |= TypeAttributes.Interface; 215_attributes &= ~TypeAttributes.Interface;
Microsoft.CodeAnalysis (3)
MetadataReader\MetadataReaderExtensions.cs (1)
200return (typeDef.Attributes & (TypeAttributes.Public | TypeAttributes.Interface)) == TypeAttributes.Public &&
MetadataReader\TypeAttributesExtensions.cs (1)
16return (flags & TypeAttributes.Interface) != 0;
PEWriter\MetadataWriter.cs (1)
1481result |= TypeAttributes.Interface;
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
Debugger\MemberInfo\TypeImpl.cs (1)
360result |= System.Reflection.TypeAttributes.Interface;
Microsoft.CodeAnalysis.Test.Utilities (1)
Platform\Custom\MetadataSignatureHelper.cs (1)
386if ((attributes & TypeAttributes.Interface) != 0)
Microsoft.CodeAnalysis.VisualBasic (4)
Symbols\Metadata\PE\PENamedTypeSymbol.vb (4)
256If (Me._flags And TypeAttributes.Interface) = 0 Then 418((_flags And TypeAttributes.Interface) <> 0 OrElse Me.Arity <> 0 OrElse Me.ContainingType IsNot Nothing)) OrElse 1017If (_flags And TypeAttributes.Interface) <> 0 Then 1056Return (_flags And TypeAttributes.Interface) <> 0
System.CodeDom (6)
Microsoft\CSharp\CSharpCodeGenerator.cs (1)
2374case TypeAttributes.Interface:
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
747case TypeAttributes.Interface:
System\CodeDom\CodeTypeDeclaration.cs (3)
91get => (TypeAttributes & TypeAttributes.ClassSemanticsMask) == TypeAttributes.Interface; 97TypeAttributes |= TypeAttributes.Interface; 103TypeAttributes &= ~TypeAttributes.Interface;
System\CodeDom\Compiler\CodeGenerator.cs (1)
1158case TypeAttributes.Interface:
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Type.cs (1)
38return (GetAttributeFlagsImpl() & TypeAttributes.ClassSemanticsMask) == TypeAttributes.Interface;
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (8)
1122if ((m_iAttr & TypeAttributes.ClassSemanticsMask) == TypeAttributes.Interface) 1215if ((m_iAttr & TypeAttributes.Interface) == TypeAttributes.Interface) 1283if ((m_iAttr & TypeAttributes.Interface) == TypeAttributes.Interface && (attributes & MethodAttributes.Static) != MethodAttributes.Static) 1565if (m_constructorCount == 0 && ((m_iAttr & TypeAttributes.Interface) == 0) && !IsValueType && ((m_iAttr & (TypeAttributes.Abstract | TypeAttributes.Sealed)) != (TypeAttributes.Abstract | TypeAttributes.Sealed))) 1678if ((m_iAttr & TypeAttributes.Interface) != TypeAttributes.Interface)
System.Reflection.Emit (8)
System\Reflection\Emit\TypeBuilderImpl.cs (8)
114if (_constructorDefinitions.Count == 0 && (_attributes & TypeAttributes.Interface) == 0 && !IsValueType && 162if ((_attributes & TypeAttributes.Interface) == TypeAttributes.Interface && (attributes & MethodAttributes.Static) != MethodAttributes.Static) 188if ((_attributes & TypeAttributes.Interface) == TypeAttributes.Interface) 376if ((_attributes & TypeAttributes.ClassSemanticsMask) == TypeAttributes.Interface) 563if ((_attributes & TypeAttributes.Interface) != TypeAttributes.Interface)
System.Reflection.Metadata (3)
System\Reflection\Metadata\MetadataReader.WinMD.cs (3)
281if ((flags & TypeAttributes.Interface) == 0 361if ((flags & (TypeAttributes.VisibilityMask | TypeAttributes.Interface)) != TypeAttributes.Public) 407else if ((parentFlags & TypeAttributes.Interface) != 0)
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\Marshalling\ComImportInteropInterfaceDetailsStrategy.cs (1)
77TypeBuilder implementation = module.DefineType("InterfaceForwarder", TypeAttributes.Interface | TypeAttributes.Abstract, parent: null, interfaces: runtimeType.GetInterfaces());