26 references to IsRestrictedType
Microsoft.CodeAnalysis.VisualBasic (26)
Analysis\IteratorAndAsyncAnalysis\IteratorAndAsyncCaptureWalker.vb (3)
98
Return Not parameter.Type.
IsRestrictedType
()
113
Return Not local.Type.
IsRestrictedType
()
133
If type.
IsRestrictedType
() Then
Binding\Binder_Conversions.vb (3)
121
If sourceType.IsValueType AndAlso sourceType.
IsRestrictedType
() AndAlso
244
ElseIf sourceType.IsValueType AndAlso sourceType.
IsRestrictedType
() AndAlso
500
If sourceType.IsValueType AndAlso sourceType.
IsRestrictedType
() AndAlso
Binding\Binder_Expressions.vb (3)
949
If resultType.IsValueType AndAlso Not resultType.
IsRestrictedType
Then
1583
If targetElementType.
IsRestrictedType
Then
4529
If expressionType.
IsRestrictedType
() Then
Binding\Binder_Lambda.vb (3)
46
If returnType.
IsRestrictedType
() Then
107
If Not unboundParam.IsByRef AndAlso source.Flags <> 0 AndAlso unboundType.
IsRestrictedType
Then
804
If parameters(i).Type.
IsRestrictedType
() Then
Binding\Binder_Statements.vb (2)
1132
If type.
IsRestrictedType
() Then
1140
If type.
IsRestrictedType
() Then
Binding\Binder_Utils.vb (2)
1099
If paramType.
IsRestrictedType
Then
1103
If paramType.
IsRestrictedType
Then
CodeGen\EmitExpression.vb (1)
1202
Return containingType.IsIntrinsicType OrElse containingType.
IsRestrictedType
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (1)
457
If type.
IsRestrictedType
Then
Semantics\Conversions.vb (1)
3388
If Not source.
IsRestrictedType
() Then
Semantics\Operators.vb (3)
3198
Dim canLift1 As Boolean = Not isNullable1 AndAlso type1.IsValueType() AndAlso Not type1.
IsRestrictedType
()
3209
canLift2 = Not isNullable2 AndAlso type2.IsValueType() AndAlso Not type2.
IsRestrictedType
()
3255
Return Not type.IsNullableType AndAlso type.IsValueType() AndAlso Not type.
IsRestrictedType
()
Semantics\OverloadResolution.vb (2)
4135
If existingIsApplicable AndAlso Not existingType.
IsRestrictedType
() AndAlso Not newType.
IsRestrictedType
() Then
Symbols\ConstraintsHelper.vb (1)
646
If typeArgument.
IsRestrictedType
() Then
Symbols\TypeSymbolExtensions.vb (1)
385
If this.
IsRestrictedType
() Then