26 references to Class
dotnet-svcutil-lib (6)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (1)
1389case TypeAttributes.Class:
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (1)
3216case TypeAttributes.Class:
FrameworkFork\Microsoft.CodeDom\System\CodeTypeDeclaration.cs (3)
27private TypeAttributes _attributes = TypeAttributes.Public | TypeAttributes.Class; 124return (_attributes & TypeAttributes.ClassSemanticsMask) == TypeAttributes.Class && !_isEnum && !_isStruct; 131_attributes |= TypeAttributes.Class;
FrameworkFork\Microsoft.CodeDom\System\CodeTypeDelegate.cs (1)
37TypeAttributes |= TypeAttributes.Class;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenFunctionPointersTests.cs (1)
12734TypeAttributes.Class | TypeAttributes.Public | TypeAttributes.AutoLayout | TypeAttributes.BeforeFieldInit,
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
Debugger\MemberInfo\TypeImpl.cs (1)
356result |= System.Reflection.TypeAttributes.Class;
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (3)
Emit\NoPiaEmbedTypes.vb (3)
1036Assert.Equal(TypeAttributes.Public Or TypeAttributes.SequentialLayout Or TypeAttributes.Class Or TypeAttributes.Sealed Or TypeAttributes.AnsiClass Or TypeAttributes.BeforeFieldInit, test2.TypeDefFlags) 1096Assert.Equal(TypeAttributes.Public Or TypeAttributes.AutoLayout Or TypeAttributes.Class Or TypeAttributes.Sealed Or TypeAttributes.AnsiClass, test9.TypeDefFlags) 1170Assert.Equal(TypeAttributes.Public Or TypeAttributes.AutoLayout Or TypeAttributes.Class Or TypeAttributes.Sealed Or TypeAttributes.AnsiClass, test11.TypeDefFlags)
System.CodeDom (7)
Microsoft\CSharp\CSharpCodeGenerator.cs (1)
2357case TypeAttributes.Class:
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
727case TypeAttributes.Class:
System\CodeDom\CodeTypeDeclaration.cs (3)
29public TypeAttributes TypeAttributes { get; set; } = TypeAttributes.Public | TypeAttributes.Class; 47get => (TypeAttributes & TypeAttributes.ClassSemanticsMask) == TypeAttributes.Class && !_isEnum && !_isStruct; 53TypeAttributes |= TypeAttributes.Class;
System\CodeDom\CodeTypeDelegate.cs (1)
15TypeAttributes |= TypeAttributes.Class;
System\CodeDom\Compiler\CodeGenerator.cs (1)
1147case TypeAttributes.Class:
System.Linq.Expressions (1)
System\Linq\Expressions\Compiler\AssemblyGen.cs (1)
72TypeAttributes.Class | TypeAttributes.Public | TypeAttributes.Sealed | TypeAttributes.AnsiClass | TypeAttributes.AutoClass
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Type.cs (1)
102public bool IsClass => (GetAttributeFlagsImpl() & TypeAttributes.ClassSemanticsMask) == TypeAttributes.Class && !IsValueType;
src\System\Reflection\Associates.cs (1)
90(RuntimeTypeHandle.GetAttributes(declaredType) & TypeAttributes.ClassSemanticsMask) == TypeAttributes.Class;
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (1)
488typeAttributes = TypeAttributes.Public | TypeAttributes.ExplicitLayout | TypeAttributes.Class | TypeAttributes.Sealed | TypeAttributes.AnsiClass;
System.Reflection.DispatchProxy (1)
src\libraries\Common\src\System\Reflection\Emit\IgnoreAccessChecksToAttributeBuilder.cs (1)
23TypeAttributes.Public | TypeAttributes.Class,
System.Reflection.Emit (1)
System\Reflection\Emit\TypeBuilderImpl.cs (1)
456TypeAttributes typeAttributes = TypeAttributes.Public | TypeAttributes.ExplicitLayout | TypeAttributes.Class | TypeAttributes.Sealed | TypeAttributes.AnsiClass;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\RoArrayType.cs (1)
70protected sealed override TypeAttributes ComputeAttributeFlags() => TypeAttributes.AutoLayout | TypeAttributes.AnsiClass | TypeAttributes.Class | TypeAttributes.Public | TypeAttributes.Sealed | TypeAttributes.Serializable;
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexAssemblyCompiler.cs (1)
247TypeAttributes attrs = TypeAttributes.Class | TypeAttributes.BeforeFieldInit | (isPublic ? TypeAttributes.Public : TypeAttributes.NotPublic);