41 references to 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,
Microsoft.CodeAnalysis (1)
PEWriter\MetadataWriter.cs (1)
1498result |= TypeAttributes.Sealed;
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (4)
1944(_flags & TypeAttributes.Sealed) != 0 && 1955(_flags & TypeAttributes.Sealed) == 0; 1972(_flags & TypeAttributes.Sealed) != 0 && 1981return (_flags & TypeAttributes.Sealed) != 0;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests_StructLayout.cs (1)
294bool isValueType = (type.Attributes & TypeAttributes.Sealed) != 0;
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
Debugger\MemberInfo\TypeImpl.cs (1)
368result |= System.Reflection.TypeAttributes.Sealed;
Microsoft.CodeAnalysis.Test.Utilities (1)
Platform\Custom\MetadataSignatureHelper.cs (1)
403if ((attributes & 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 (5)
src\libraries\System.Private.CoreLib\src\System\Type.cs (1)
99public bool IsSealed => (GetAttributeFlagsImpl() & TypeAttributes.Sealed) != 0;
src\System\Reflection\Emit\RuntimeEnumBuilder.cs (1)
308m_typeBuilder = new RuntimeTypeBuilder(name, visibility | TypeAttributes.Sealed, typeof(Enum), null, module, PackingSize.Unspecified, TypeBuilder.UnspecifiedTypeSize, null);
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (3)
488typeAttributes = TypeAttributes.Public | TypeAttributes.ExplicitLayout | TypeAttributes.Class | TypeAttributes.Sealed | TypeAttributes.AnsiClass; 1565if (m_constructorCount == 0 && ((m_iAttr & TypeAttributes.Interface) == 0) && !IsValueType && ((m_iAttr & (TypeAttributes.Abstract | TypeAttributes.Sealed)) != (TypeAttributes.Abstract | TypeAttributes.Sealed)))
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;
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexAssemblyCompiler.cs (1)
249attrs |= TypeAttributes.Sealed;