14 overrides of IsNotInheritable
Microsoft.CodeAnalysis.VisualBasic (12)
Lowering\StateMachineRewriter\SynthesizedContainer.vb (1)
296
Public NotOverridable Overrides ReadOnly Property
IsNotInheritable
As Boolean
Symbols\AnonymousTypes\PublicSymbols\AnonymousTypeOrDelegatePublicSymbol.vb (1)
83
Public Overrides ReadOnly Property
IsNotInheritable
As Boolean
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegateTemplateSymbol.vb (1)
140
Public Overrides ReadOnly Property
IsNotInheritable
As Boolean
Symbols\ErrorTypeSymbol.vb (1)
230
Public NotOverridable Overrides ReadOnly Property
IsNotInheritable
As Boolean
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
884
Public Overrides ReadOnly Property
IsNotInheritable
As Boolean
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (1)
455
Public Overrides ReadOnly Property
IsNotInheritable
As Boolean
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
1256
Public Overrides ReadOnly Property
IsNotInheritable
As Boolean
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
864
Public Overrides ReadOnly Property
IsNotInheritable
As Boolean
Symbols\SubstitutedNamedType.vb (1)
122
Public NotOverridable Overrides ReadOnly Property
IsNotInheritable
As Boolean
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
202
Public Overrides ReadOnly Property
IsNotInheritable
As Boolean
Symbols\UnboundGenericType.vb (1)
233
Public Overrides ReadOnly Property
IsNotInheritable
As Boolean
Symbols\Wrapped\WrappedNamedTypeSymbol.vb (1)
108
Public Overrides ReadOnly Property
IsNotInheritable
As Boolean
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (1)
Symbols\EENamedTypeSymbol.vb (1)
281
Public Overrides ReadOnly Property
IsNotInheritable
As Boolean
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
MockSymbols.vb (1)
289
Public Overrides ReadOnly Property
IsNotInheritable
As Boolean
44 references to IsNotInheritable
Microsoft.CodeAnalysis.VisualBasic (17)
Binding\Binder_Conversions.vb (1)
1711
classType.
IsNotInheritable
AndAlso
CodeGen\EmitExpression.vb (1)
1075
If IsMeReceiver(receiver) AndAlso method.ContainingType.
IsNotInheritable
Then
Compilation\ClsComplianceChecker.vb (1)
822
Return containingType Is Nothing OrElse Not containingType.
IsNotInheritable
Emit\NamedTypeSymbolAdapter.vb (1)
955
If Me.
IsNotInheritable
Then
Semantics\Conversions.vb (2)
1992
(src.TypeKind <> TypeKind.Class OrElse DirectCast(src, NamedTypeSymbol).
IsNotInheritable
) AndAlso
2014
(dst.TypeKind <> TypeKind.Class OrElse DirectCast(dst, NamedTypeSymbol).
IsNotInheritable
) AndAlso
Symbols\ConstraintsHelper.vb (1)
167
If classType.
IsNotInheritable
Then
Symbols\EmbeddedSymbols\EmbeddedSymbolManager.SymbolsCollection.vb (1)
333
Debug.Assert(type.TypeKind = TypeKind.Module OrElse type.TypeKind = TypeKind.Class AndAlso type.
IsNotInheritable
)
Symbols\NamedTypeSymbol.vb (1)
1242
Return Me.
IsNotInheritable
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (1)
457
Return _underlyingType.
IsNotInheritable
Symbols\Source\OverrideHidingHelper.vb (1)
184
If Not (container.IsMustInherit OrElse container.
IsNotInheritable
) Then
Symbols\Source\SourceNamedTypeSymbol.vb (1)
1126
ElseIf DirectCast(baseClassType, NamedTypeSymbol).
IsNotInheritable
Then
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (1)
216
If named.TypeKind = TypeKind.Class AndAlso Not named.
IsNotInheritable
Then
Symbols\SubstitutedNamedType.vb (1)
124
Return OriginalDefinition.
IsNotInheritable
Symbols\TypeSymbolExtensions.vb (1)
415
Return DirectCast(this, NamedTypeSymbol).
IsNotInheritable
Symbols\UnboundGenericType.vb (1)
235
Return OriginalDefinition.
IsNotInheritable
Symbols\Wrapped\WrappedNamedTypeSymbol.vb (1)
110
Return Me._underlyingType.
IsNotInheritable
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (4)
CodeGen\CodeGenAsyncTests.vb (1)
8430
Assert.True(type.
IsNotInheritable
)
Emit\EmitMetadata.vb (1)
487
Assert.True(classB.
IsNotInheritable
)
Emit\NoPiaEmbedTypes.vb (2)
1048
Assert.False(itest3.
IsNotInheritable
)
1060
Assert.True(test5.
IsNotInheritable
)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (23)
SymbolsTests\CompilationCreationTests.vb (1)
1910
Assert.[False](type3.
IsNotInheritable
)
SymbolsTests\InstantiatingGenerics.vb (4)
114
Assert.Equal(type.OriginalDefinition.
IsNotInheritable
, type.ConstructedFrom.
IsNotInheritable
)
115
Assert.Equal(type.ConstructedFrom.
IsNotInheritable
, type.
IsNotInheritable
)
SymbolsTests\Metadata\MetadataTypeTests.vb (4)
126
Assert.True(class1.
IsNotInheritable
)
179
Assert.False(type1.
IsNotInheritable
)
234
Assert.False(type1.
IsNotInheritable
)
287
Assert.True(type1.
IsNotInheritable
)
SymbolsTests\Metadata\PE\TypeKindTests.vb (4)
67
Assert.False(obj.
IsNotInheritable
)
71
Assert.False([enum].
IsNotInheritable
)
75
Assert.True(func.
IsNotInheritable
)
81
Assert.True(console.
IsNotInheritable
)
SymbolsTests\Retargeting\RetargetingTests.vb (3)
1914
Assert.True(sourceType.
IsNotInheritable
)
1915
Assert.Equal(sourceType.
IsNotInheritable
, retargetingType.
IsNotInheritable
)
SymbolsTests\Source\TypeTests.vb (7)
94
Assert.False(ifaceA.
IsNotInheritable
)
112
Assert.False(classB.
IsNotInheritable
)
129
Assert.True(delegateB.
IsNotInheritable
)
150
Assert.True(enumE.
IsNotInheritable
)
165
Assert.True(structI.
IsNotInheritable
)
180
Assert.True(moduleM.
IsNotInheritable
)
555
Assert.True(enumE.
IsNotInheritable
)