41 references to Sealed
dotnet-svcutil-lib (7)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (2)
1390
if ((attributes & TypeAttributes.
Sealed
) == TypeAttributes.
Sealed
)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (2)
3217
if ((attributes & TypeAttributes.
Sealed
) == TypeAttributes.
Sealed
)
FrameworkFork\Microsoft.CodeDom\Microsoft\VBCodeProvider.cs (2)
1052
if ((attributes & TypeAttributes.
Sealed
) == TypeAttributes.
Sealed
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationILGen.cs (1)
312
TypeAttributes.Public | TypeAttributes.
Sealed
| TypeAttributes.BeforeFieldInit,
Microsoft.CodeAnalysis (1)
PEWriter\MetadataWriter.cs (1)
1498
result |= 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 &&
1981
return (_flags & TypeAttributes.
Sealed
) != 0;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests_StructLayout.cs (1)
294
bool isValueType = (type.Attributes & TypeAttributes.
Sealed
) != 0;
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
Debugger\MemberInfo\TypeImpl.cs (1)
368
result |= System.Reflection.TypeAttributes.
Sealed
;
Microsoft.CodeAnalysis.Test.Utilities (1)
Platform\Custom\MetadataSignatureHelper.cs (1)
403
if ((attributes & TypeAttributes.
Sealed
) != 0)
Microsoft.CodeAnalysis.VisualBasic (3)
Symbols\Metadata\PE\PENamedTypeSymbol.vb (3)
879
(_flags And TypeAttributes.
Sealed
) = 0
891
Return (_flags And TypeAttributes.
Sealed
) <> 0
897
Return (_flags And TypeAttributes.
Sealed
) <> 0
Microsoft.CodeAnalysis.Workspaces (2)
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (2)
460
(typeDefinition.Attributes & TypeAttributes.
Sealed
) != 0;
600
if ((typeDefinition.Attributes & TypeAttributes.
Sealed
) == 0 ||
PresentationBuildTasks (1)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
2743
ctdClass.TypeAttributes = TypeAttributes.Public | TypeAttributes.
Sealed
;
System.CodeDom (6)
Microsoft\CSharp\CSharpCodeGenerator.cs (2)
2356
if ((attributes & TypeAttributes.
Sealed
) == TypeAttributes.
Sealed
)
Microsoft\VisualBasic\VBCodeGenerator.cs (2)
736
if ((attributes & TypeAttributes.
Sealed
) == TypeAttributes.
Sealed
)
System\CodeDom\Compiler\CodeGenerator.cs (2)
1148
if ((attributes & TypeAttributes.
Sealed
) == TypeAttributes.
Sealed
)
System.Linq.Expressions (1)
System\Linq\Expressions\Compiler\AssemblyGen.cs (1)
72
TypeAttributes.Class | TypeAttributes.Public | TypeAttributes.
Sealed
| TypeAttributes.AnsiClass | TypeAttributes.AutoClass
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Type.cs (1)
99
public bool IsSealed => (GetAttributeFlagsImpl() & TypeAttributes.
Sealed
) != 0;
src\System\Reflection\Emit\RuntimeEnumBuilder.cs (1)
308
m_typeBuilder = new RuntimeTypeBuilder(name, visibility | TypeAttributes.
Sealed
, typeof(Enum), null, module, PackingSize.Unspecified, TypeBuilder.UnspecifiedTypeSize, null);
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (3)
488
typeAttributes = TypeAttributes.Public | TypeAttributes.ExplicitLayout | TypeAttributes.Class | TypeAttributes.
Sealed
| TypeAttributes.AnsiClass;
1565
if (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)
320
TypeAttributes.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
)))
444
TypeAttributes typeAttributes = TypeAttributes.Public | TypeAttributes.ExplicitLayout | TypeAttributes.Class | TypeAttributes.
Sealed
| TypeAttributes.AnsiClass;
System.Reflection.Metadata (1)
System\Reflection\Metadata\TypeSystem\TypeDefinition.cs (1)
228
flags |= TypeAttributes.WindowsRuntime | TypeAttributes.
Sealed
;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\RoArrayType.cs (1)
70
protected 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)
249
attrs |= TypeAttributes.
Sealed
;