50 references to IsExplicit
Microsoft.AspNetCore.Components.Analyzers (3)
ComponentFacts.cs (1)
103if (!conversion.Exists || !conversion.IsExplicit)
ComponentParameterAnalyzer.cs (1)
103if (!conversion.Exists || conversion.IsExplicit)
ComponentParameterUsageAnalyzer.cs (1)
96if (conversion.Exists && conversion.IsExplicit)
Microsoft.AspNetCore.Components.SdkAnalyzers (3)
ComponentFacts.cs (1)
103if (!conversion.Exists || !conversion.IsExplicit)
ComponentParameterAnalyzer.cs (1)
97if (!conversion.Exists || conversion.IsExplicit)
ComponentParameterUsageAnalyzer.cs (1)
96if (conversion.Exists && conversion.IsExplicit)
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Invocation.cs (1)
1696var isCast = conversion.IsExplicit;
Binder\Binder_Operators.cs (1)
219else if (final.Conversion.IsExplicit &&
Binder\Binder_Statements.cs (2)
1963(conversion.IsExplicit && (flags & ConversionForAssignmentFlags.PredefinedOperator) == 0))) 2242if (conversion.IsExplicit)
FlowAnalysis\NullableWalker.cs (2)
5259if (conversion.Exists && !conversion.IsExplicit) 8413bool reportNestedWarnings = !conversion.IsExplicit;
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (2)
364if (rewrittenConversion.IsExplicit && castNode.WalkUpParentheses().Parent is not InterpolationSyntax) 987if (!conversion.IsExplicit)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
856(!originalConversion.IsExplicit && newConversion.IsExplicit))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\AddExplicitCast\CSharpAddExplicitCastCodeFixProvider.cs (1)
103if (conversion.Exists && conversion.IsExplicit)
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\CodeFixes\AddExplicitCast\CSharpAddExplicitCastCodeFixProvider.cs (1)
103if (conversion.Exists && conversion.IsExplicit)
UseNamedArguments\CSharpUseNamedArgumentsCodeRefactoringProvider.cs (1)
50if (!conversion.Exists || conversion.IsExplicit)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (27)
Compilation\GetSemanticInfoTests.cs (26)
673Assert.False(conv.IsExplicit); 678Assert.False(conv.IsExplicit); 684Assert.False(conv.IsExplicit); 690Assert.False(conv.IsExplicit); 696Assert.False(conv.IsExplicit); 702Assert.False(conv.IsExplicit); 708Assert.False(conv.IsExplicit); 714Assert.False(conv.IsExplicit); 720Assert.False(conv.IsExplicit); 725Assert.True(conv.IsExplicit); 732Assert.False(conv.IsExplicit); 738Assert.False(conv.IsExplicit); 744Assert.False(conv.IsExplicit); 750Assert.False(conv.IsExplicit); 756Assert.True(conv.IsExplicit); 762Assert.True(conv.IsExplicit); 768Assert.True(conv.IsExplicit); 774Assert.True(conv.IsExplicit); 780Assert.True(conv.IsExplicit); 786Assert.True(conv.IsExplicit); 792Assert.False(conv.IsExplicit); 799Assert.False(conv.IsExplicit); 806Assert.True(conv.IsExplicit); 813Assert.True(conv.IsExplicit); 820Assert.True(conv.IsExplicit); 827Assert.True(conv.IsExplicit);
Symbols\ConversionTests.cs (1)
425Assert.True(conversion.IsExplicit);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (2)
364if (rewrittenConversion.IsExplicit && castNode.WalkUpParentheses().Parent is not InterpolationSyntax) 987if (!conversion.IsExplicit)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (2)
856(!originalConversion.IsExplicit && newConversion.IsExplicit))