44 references to On
Microsoft.CodeAnalysis.VisualBasic (44)
Binding\Binder_Conversions.vb (3)
522
If OptionStrict = VisualBasic.OptionStrict.
On
Then
540
If OptionStrict = VisualBasic.OptionStrict.
On
Then
993
If isExplicit OrElse OptionStrict <> VisualBasic.OptionStrict.
On
OrElse Conversions.IsWideningConversion(convKind) Then
Binding\Binder_Delegates.vb (1)
993
If Me.OptionStrict = OptionStrict.
On
AndAlso Conversions.IsNarrowingConversion(delegateResolutionResult.DelegateConversions) Then
Binding\Binder_Expressions.vb (4)
1616
Case VisualBasic.OptionStrict.
On
2196
If OptionStrict = VisualBasic.OptionStrict.
On
Then
2206
If OptionStrict = VisualBasic.OptionStrict.
On
Then
4681
If OptionStrict = OptionStrict.
On
Then
Binding\Binder_Initializers.vb (1)
173
initializerBinder.OptionStrict <> VisualBasic.OptionStrict.
On
AndAlso
Binding\Binder_Invocation.vb (3)
758
Debug.Assert(OptionStrict <> VisualBasic.OptionStrict.
On
)
2505
If OptionStrict = VisualBasic.OptionStrict.
On
Then
2573
If OptionStrict = VisualBasic.OptionStrict.
On
Then
Binding\Binder_Lambda.vb (2)
652
If OptionStrict = OptionStrict.
On
Then
967
If OptionStrict = OptionStrict.
On
Then
Binding\Binder_Latebound.vb (2)
39
If OptionStrict = VisualBasic.OptionStrict.
On
Then
143
If OptionStrict = VisualBasic.OptionStrict.
On
Then
Binding\Binder_Operators.vb (2)
411
If OptionStrict = VisualBasic.OptionStrict.
On
Then
1208
If OptionStrict = VisualBasic.OptionStrict.
On
Then
Binding\Binder_Statements.vb (7)
1307
If OptionStrict = OptionStrict.
On
Then
1315
If OptionStrict = OptionStrict.
On
Then
1439
ElseIf Not symbol.IsStatic AndAlso OptionStrict <> OptionStrict.
On
AndAlso
3812
If ((collection.IsNothingLiteral OrElse collectionType.IsObjectType) AndAlso Me.OptionStrict <> OptionStrict.
On
) OrElse
3828
Debug.Assert(collectionType IsNot Nothing OrElse collection.IsNothingLiteral AndAlso Me.OptionStrict = OptionStrict.
On
)
4008
Debug.Assert(collectionType IsNot Nothing OrElse OptionStrict <> OptionStrict.
On
AndAlso collection.Kind = BoundKind.Conversion AndAlso DirectCast(collection, BoundConversion).Operand.IsNothingLiteral)
4612
(resourceType.IsObjectType() AndAlso OptionStrict <> OptionStrict.
On
) Then
Binding\Binder_XmlLiterals.vb (1)
180
If argument.Type.IsObjectType AndAlso OptionStrict <> VisualBasic.OptionStrict.
On
Then
Binding\SourceFileBinder.vb (1)
44
Return If(_sourceFile.OptionStrict.Value, OptionStrict.
On
, OptionStrict.Off)
CommandLine\VisualBasicCommandLineParser.vb (2)
256
optionStrict = VisualBasic.OptionStrict.
On
271
optionStrict = VisualBasic.OptionStrict.
On
OptionStrict.vb (1)
36
Return value >= OptionStrict.Off AndAlso value <= OptionStrict.
[On]
Semantics\OverloadResolution.vb (7)
1042
result = ReportOverloadResolutionFailedOrLateBound(candidates, applicableInstanceCandidateCount, lateBindingIsAllowed AndAlso binder.OptionStrict <> OptionStrict.
On
, asyncLambdaSubToFunctionMismatch)
1254
lateBindingIsAllowed AndAlso binder.OptionStrict <> OptionStrict.
On
, binder,
1289
Return ReportOverloadResolutionFailedOrLateBound(candidates, applicableCandidates, lateBindingIsAllowed AndAlso binder.OptionStrict <> OptionStrict.
On
, asyncLambdaSubToFunctionMismatch)
3332
If binder.OptionStrict = OptionStrict.
On
Then
3601
If binder.OptionStrict = OptionStrict.
On
Then
3720
If binder.OptionStrict = OptionStrict.
On
Then
5298
If binder.OptionStrict = OptionStrict.
On
AndAlso Not inferredTypeByAssumption.IsNull Then
Semantics\TypeInference\TypeArgumentInference.vb (1)
1946
(addrOf.Binder.OptionStrict = OptionStrict.
On
AndAlso Conversions.IsNarrowingMethodConversion(methodConversions, isForAddressOf:=True)) Then
Symbols\Source\CustomEventAccessorSymbol.vb (1)
198
(binder.OptionStrict = OptionStrict.
On
AndAlso Conversions.IsNarrowingMethodConversion(conversion, False))) Then
Symbols\Source\SourceComplexParameterSymbol.vb (1)
333
If binder.OptionStrict = OptionStrict.
On
Then
Symbols\Source\SourceDelegateMethodSymbol.vb (1)
114
If binder.OptionStrict = OptionStrict.
On
Then
Symbols\Source\SourceMemberFieldSymbol.vb (1)
191
If binder.OptionStrict = OptionStrict.
On
Then
Symbols\Source\SourceMethodSymbol.vb (1)
2319
If binder.OptionStrict = OptionStrict.
On
Then
Symbols\Source\SourcePropertySymbol.vb (1)
365
If binder.OptionStrict = OptionStrict.
On
Then