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
248
ElseIf sourceType.IsValueType AndAlso sourceType.
IsRestrictedType
() AndAlso
508
If sourceType.IsValueType AndAlso sourceType.
IsRestrictedType
() AndAlso
Binding\Binder_Expressions.vb (3)
970
If resultType.IsValueType AndAlso Not resultType.
IsRestrictedType
Then
1608
If targetElementType.
IsRestrictedType
Then
4560
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)
1163
If type.
IsRestrictedType
() Then
1171
If type.
IsRestrictedType
() Then
Binding\Binder_Utils.vb (2)
1099
If paramType.
IsRestrictedType
Then
1103
If paramType.
IsRestrictedType
Then
CodeGen\EmitExpression.vb (1)
1328
Return containingType.IsIntrinsicType OrElse containingType.
IsRestrictedType
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (1)
456
If type.
IsRestrictedType
Then
Semantics\Conversions.vb (1)
3393
If Not source.
IsRestrictedType
() Then
Semantics\Operators.vb (3)
3203
Dim canLift1 As Boolean = Not isNullable1 AndAlso type1.IsValueType() AndAlso Not type1.
IsRestrictedType
()
3214
canLift2 = Not isNullable2 AndAlso type2.IsValueType() AndAlso Not type2.
IsRestrictedType
()
3266
Return Not type.IsNullableType AndAlso type.IsValueType() AndAlso Not type.
IsRestrictedType
()
Semantics\OverloadResolution.vb (2)
4536
If existingIsApplicable AndAlso Not existingType.
IsRestrictedType
() AndAlso Not newType.
IsRestrictedType
() Then
Symbols\ConstraintsHelper.vb (1)
661
If typeArgument.
IsRestrictedType
() Then
Symbols\TypeSymbolExtensions.vb (1)
385
If this.
IsRestrictedType
() Then