4 references to IsIdentityOrImplicitReference
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryLambdaExpression\CSharpRemoveUnnecessaryLambdaExpressionDiagnosticAnalyzer.cs (1)
271
return conversion.
IsIdentityOrImplicitReference
();
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\UseCollectionExpressionHelpers.cs (1)
290
if (conversion.
IsIdentityOrImplicitReference
())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (2)
456
var isRepresentationPreservingCast = originalConversion.
IsIdentityOrImplicitReference
() || originalConversion.IsBoxing;
504
originalConversion.
IsIdentityOrImplicitReference
())