19 references to IsStructureType
Microsoft.CodeAnalysis.VisualBasic (18)
Analysis\FlowAnalysis\ReadWriteWalker.vb (1)
145
If receiver.Type.
IsStructureType
AndAlso receiverSyntax.Span.OverlapsWith(_region) Then NoteReceiverReadOrWritten(CType(receiver, BoundFieldAccess), readOrWritten)
Binding\Binder_Attributes.vb (1)
197
ElseIf namedType.
IsStructureType
Then
Binding\Binder_Expressions.vb (1)
2267
If ContainingType.
IsStructureType
Then
Binding\Binder_Lookup.vb (1)
955
Debug.Assert(type.IsClassType OrElse type.IsModuleType OrElse type.
IsStructureType
OrElse type.IsDelegateType)
Binding\Binder_Statements.vb (1)
4668
If structureType.
IsStructureType
AndAlso Not structureType.IsEnumType AndAlso Not structureType.IsIntrinsicType Then
Emit\NamedTypeSymbolAdapter.vb (1)
337
Dim isStruct = AdaptedNamedTypeSymbol.
IsStructureType
()
Emit\NoPia\EmbeddedType.vb (1)
181
Return If(UnderlyingNamedType.AdaptedNamedTypeSymbol.
IsStructureType
(), UnderlyingNamedType.AdaptedNamedTypeSymbol.Layout, Nothing)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
642
(node.Arguments.Length = 0 AndAlso Not node.Type.
IsStructureType
() OrElse
Lowering\StateMachineRewriter\StateMachineRewriter.vb (1)
224
Dim initialMe As TProxy = If(Me.Method.ContainingType.
IsStructureType
(),
Lowering\WithExpressionRewriter.vb (1)
296
Debug.Assert(value.Type.
IsStructureType
OrElse value.Type.IsTypeParameter)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (4)
1998
If Not Me.
IsStructureType
Then
3371
If Me.IsClassType() OrElse Me.
IsStructureType
() OrElse Me.IsInterfaceType() Then
3375
If Me.IsClassType() OrElse Me.
IsStructureType
() Then
3407
If(Me.
IsStructureType
(), "Structure", "Class"),
Symbols\Source\SourceMemberFieldSymbol.vb (1)
604
If container.
IsStructureType
AndAlso Not fieldSymbol.IsShared Then
Symbols\Source\SynthesizedEventAccessorSymbol.vb (1)
522
If Not IsMustOverride AndAlso Not SourceEvent.IsWindowsRuntimeEvent AndAlso Not ContainingType.
IsStructureType
() AndAlso
Symbols\TypeSymbol.vb (1)
724
If Me.IsClassType() OrElse Me.
IsStructureType
() Then
Symbols\WellKnownMembers.vb (1)
88
Not attributeType.
IsStructureType
AndAlso
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\AttributeTests_WellKnownAttributes.vb (1)
7059
Assert.True(attribute.AttributeClass.
IsStructureType
())