43 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)
255If (Me._flags And TypeAttributes.Interface) = 0 Then 417((_flags And TypeAttributes.Interface) <> 0 OrElse Me.Arity <> 0 OrElse Me.ContainingType IsNot Nothing)) OrElse 1016If (_flags And TypeAttributes.Interface) <> 0 Then 1055Return (_flags And TypeAttributes.Interface) <> 0
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Emit\NoPiaEmbedTypes.vb (1)
1020Assert.Equal(TypeAttributes.Public Or TypeAttributes.AutoLayout Or TypeAttributes.Interface Or TypeAttributes.Abstract Or TypeAttributes.Import Or TypeAttributes.AnsiClass, itest1.TypeDefFlags)
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (1)
EvaluationContext.vb (1)
272(typeDef.Attributes And TypeAttributes.[Interface]) = 0 AndAlso
System.CodeDom (6)
Microsoft\CSharp\CSharpCodeGenerator.cs (1)
2374case TypeAttributes.Interface:
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
747case TypeAttributes.Interface:
System\CodeDom\CodeTypeDeclaration.cs (3)
92get => (TypeAttributes & TypeAttributes.ClassSemanticsMask) == TypeAttributes.Interface; 98TypeAttributes |= TypeAttributes.Interface; 104TypeAttributes &= ~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)
1128if ((m_iAttr & TypeAttributes.ClassSemanticsMask) == TypeAttributes.Interface) 1221if ((m_iAttr & TypeAttributes.Interface) == TypeAttributes.Interface) 1289if ((m_iAttr & TypeAttributes.Interface) == TypeAttributes.Interface && (attributes & MethodAttributes.Static) != MethodAttributes.Static) 1571if (m_constructorCount == 0 && ((m_iAttr & TypeAttributes.Interface) == 0) && !IsValueType && ((m_iAttr & (TypeAttributes.Abstract | TypeAttributes.Sealed)) != (TypeAttributes.Abstract | TypeAttributes.Sealed))) 1698if ((m_iAttr & TypeAttributes.Interface) != TypeAttributes.Interface)
System.Reflection.Emit (8)
System\Reflection\Emit\TypeBuilderImpl.cs (8)
115if (_constructorDefinitions.Count == 0 && (_attributes & TypeAttributes.Interface) == 0 && !IsValueType && 174if ((_attributes & TypeAttributes.Interface) == TypeAttributes.Interface && (attributes & MethodAttributes.Static) != MethodAttributes.Static) 200if ((_attributes & TypeAttributes.Interface) == TypeAttributes.Interface) 388if ((_attributes & TypeAttributes.ClassSemanticsMask) == TypeAttributes.Interface) 574if ((_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());