Base:
1 override of IsValueType
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\ErrorTypeSymbol.vb (1)
67
Public Overrides ReadOnly Property
IsValueType
As Boolean
25 references to IsValueType
Microsoft.CodeAnalysis.VisualBasic (13)
Analysis\InitializerRewriter.vb (1)
64
ElseIf Not constructorMethod.IsShared AndAlso containingType.
IsValueType
Then
CodeGen\EmitAddress.vb (1)
385
If fieldAccess.FieldSymbol.ContainingType.
IsValueType
Then
CodeGen\EmitConversion.vb (1)
261
Debug.Assert(typeTo.
IsValueType
AndAlso Not typeTo.IsTypeParameter)
Compilation\MethodCompiler.vb (2)
1784
injectDefaultConstructorCall = Not method.ContainingType.
IsValueType
1861
Debug.Assert(Not containingType.
IsValueType
)
Emit\NamedTypeReference.vb (1)
54
Return m_UnderlyingNamedType.
IsValueType
Emit\NamedTypeSymbolAdapter.vb (1)
43
Return AdaptedNamedTypeSymbol.
IsValueType
Lowering\AsyncRewriter\AsyncRewriter.CapturedSymbolOrExpression.vb (1)
155
newReceiverOpt = Me.ReceiverOpt.Materialize(rewriter, Me.Field.ContainingType.
IsValueType
)
Lowering\Diagnostics\DiagnosticsPass.vb (1)
141
If containingType IsNot Nothing AndAlso containingType.
IsValueType
AndAlso withBlockBinder.Info.ExpressionHasByRefMeReference(RecursionDepth) Then
Symbols\Source\SourceMemberContainerTypeSymbol.vb (2)
2100
Debug.Assert(Me.
IsValueType
AndAlso Not Me.IsTypeParameter)
2126
If fieldType IsNot Nothing AndAlso fieldType.
IsValueType
Then
Symbols\Source\SourceMemberFieldSymbol.vb (1)
422
If(container.
IsValueType
, Accessibility.Public, Accessibility.Private),
Symbols\SymbolExtensions.vb (1)
274
method.ContainingType.
IsValueType
AndAlso
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (12)
SymbolsTests\Metadata\MetadataTypeTests.vb (4)
118
Assert.False(class1.
IsValueType
)
171
Assert.False(type1.
IsValueType
)
226
Assert.False(type1.
IsValueType
)
279
Assert.True(type1.
IsValueType
)
SymbolsTests\Metadata\PE\NoPiaInstantiationOfGenericClassAndStruct.vb (1)
393
Assert.[True](classLocalType.
IsValueType
)
SymbolsTests\Source\TypeTests.vb (7)
97
Assert.False(ifaceA.
IsValueType
)
115
Assert.False(classB.
IsValueType
)
132
Assert.False(delegateB.
IsValueType
)
153
Assert.True(enumE.
IsValueType
)
168
Assert.True(structI.
IsValueType
)
183
Assert.False(moduleM.
IsValueType
)
558
Assert.True(enumE.
IsValueType
)