44 references to Sealed
Aspire.Hosting.RemoteHost.Tests (3)
AtsCapabilityScannerTests.cs (1)
981TypeAttributes.Public | TypeAttributes.Abstract | TypeAttributes.Sealed);
AttributeDataReaderTests.cs (2)
298TypeAttributes.Public | TypeAttributes.Abstract | TypeAttributes.Sealed); 325TypeAttributes.Public | TypeAttributes.Class | TypeAttributes.Sealed,
dotnet-svcutil-lib (7)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (2)
1390if ((attributes & TypeAttributes.Sealed) == TypeAttributes.Sealed)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (2)
3217if ((attributes & TypeAttributes.Sealed) == TypeAttributes.Sealed)
FrameworkFork\Microsoft.CodeDom\Microsoft\VBCodeProvider.cs (2)
1052if ((attributes & TypeAttributes.Sealed) == TypeAttributes.Sealed)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationILGen.cs (1)
312TypeAttributes.Public | TypeAttributes.Sealed | TypeAttributes.BeforeFieldInit,
ILAssembler (5)
GrammarVisitor.cs (5)
989return new((new(context.VALUE() is not null ? TypeAttributes.Sealed : 0), EntityRegistry.WellKnownBaseType.System_Enum, false)); 994return new((new(TypeAttributes.Sealed), EntityRegistry.WellKnownBaseType.System_ValueType, true)); 1037return new((new(TypeAttributes.Sealed), null, false)); 1416if (!newTypeDef.Attributes.HasFlag(TypeAttributes.Sealed) && 1428newTypeDef.Attributes |= TypeAttributes.Sealed;
ILCompiler.MetadataTransform (1)
ILCompiler\Metadata\Transform.Type.cs (1)
548result |= TypeAttributes.Sealed;
ILCompiler.TypeSystem (1)
parent\parent\Common\TypeSystem\Ecma\EcmaType.cs (1)
660return (_typeDefinition.Attributes & TypeAttributes.Sealed) != 0;
Microsoft.CodeAnalysis (1)
PEWriter\MetadataWriter.cs (1)
1498result |= TypeAttributes.Sealed;
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (4)
2132(_flags & TypeAttributes.Sealed) != 0 && 2143(_flags & TypeAttributes.Sealed) == 0; 2160(_flags & TypeAttributes.Sealed) != 0 && 2169return (_flags & TypeAttributes.Sealed) != 0;
Microsoft.CodeAnalysis.VisualBasic (3)
Symbols\Metadata\PE\PENamedTypeSymbol.vb (3)
879(_flags And TypeAttributes.Sealed) = 0 891Return (_flags And TypeAttributes.Sealed) <> 0 897Return (_flags And TypeAttributes.Sealed) <> 0
Microsoft.CodeAnalysis.Workspaces (2)
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (2)
460(typeDefinition.Attributes & TypeAttributes.Sealed) != 0; 600if ((typeDefinition.Attributes & TypeAttributes.Sealed) == 0 ||
PresentationBuildTasks (1)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
2743ctdClass.TypeAttributes = TypeAttributes.Public | TypeAttributes.Sealed;
System.CodeDom (6)
Microsoft\CSharp\CSharpCodeGenerator.cs (2)
2356if ((attributes & TypeAttributes.Sealed) == TypeAttributes.Sealed)
Microsoft\VisualBasic\VBCodeGenerator.cs (2)
736if ((attributes & TypeAttributes.Sealed) == TypeAttributes.Sealed)
System\CodeDom\Compiler\CodeGenerator.cs (2)
1148if ((attributes & TypeAttributes.Sealed) == TypeAttributes.Sealed)
System.Linq.Expressions (1)
System\Linq\Expressions\Compiler\AssemblyGen.cs (1)
72TypeAttributes.Class | TypeAttributes.Public | TypeAttributes.Sealed | TypeAttributes.AnsiClass | TypeAttributes.AutoClass
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Type.cs (1)
99public bool IsSealed => (GetAttributeFlagsImpl() & TypeAttributes.Sealed) != 0;
System\Reflection\Runtime\TypeInfos\RuntimeArrayTypeInfo.cs (1)
42TypeAttributes.AutoLayout | TypeAttributes.AnsiClass | TypeAttributes.Class | TypeAttributes.Public | TypeAttributes.Sealed | TypeAttributes.Serializable;
System.Private.Xml (1)
System\Xml\Serialization\XmlSerializationILGen.cs (1)
320TypeAttributes.Public | TypeAttributes.Sealed | TypeAttributes.BeforeFieldInit,
System.Reflection.Emit (4)
System\Reflection\Emit\EnumBuilderImpl.cs (1)
19_typeBuilder = new TypeBuilderImpl(name, visibility | TypeAttributes.Sealed, typeof(Enum), module,
System\Reflection\Emit\TypeBuilderImpl.cs (3)
115((_attributes & (TypeAttributes.Abstract | TypeAttributes.Sealed)) != (TypeAttributes.Abstract | TypeAttributes.Sealed))) 444TypeAttributes typeAttributes = TypeAttributes.Public | TypeAttributes.ExplicitLayout | TypeAttributes.Class | TypeAttributes.Sealed | TypeAttributes.AnsiClass;
System.Reflection.Metadata (1)
System\Reflection\Metadata\TypeSystem\TypeDefinition.cs (1)
228flags |= TypeAttributes.WindowsRuntime | TypeAttributes.Sealed;
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;