23 references to IsReference
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
528return conversion.IsReference && conversion.IsImplicit;
Microsoft.CodeAnalysis.CSharp (6)
Binder\Semantics\Conversions\Conversion.cs (1)
1154return new CommonConversion(Exists, IsIdentity, IsNumeric, IsReference, IsImplicit, IsNullable, methodSymbol, constrainedToType);
Compilation\BuiltInOperators.cs (2)
934if (leftConversion.IsIdentity || leftConversion.IsReference) 940if (rightConversion.IsIdentity || rightConversion.IsReference)
Compilation\CSharpCompilation.cs (1)
2356if (result.IsReference && sourceConstantValue is { IsNull: true })
FlowAnalysis\NullableWalker.cs (1)
8983resultState = conversion.IsReference ? getReferenceConversionResultState(targetTypeWithNullability, operandType) : operandType.State;
Symbols\Source\ParameterHelpers.cs (1)
792else if (conversion.IsReference &&
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ConversionExtensions.cs (1)
12(conversion.IsImplicit && conversion.IsReference);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (1)
932=> compilation.ClassifyConversion(sourceType, targetType).IsReference;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\GenerateParameterizedMember\CSharpGenerateParameterizedMemberService.cs (1)
146return conversion.IsImplicit && conversion.IsReference;
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\GenerateParameterizedMember\CSharpGenerateParameterizedMemberService.cs (1)
146return conversion.IsImplicit && conversion.IsReference;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Compilation\GetSemanticInfoTests.cs (2)
709Assert.True(conv.IsReference); 775Assert.True(conv.IsReference);
Compilation\SemanticModelGetSemanticInfoTests.cs (1)
7702Assert.True(semanticInfo.ImplicitConversion.IsReference);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ConversionExtensions.cs (1)
12(conversion.IsImplicit && conversion.IsReference);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (1)
932=> compilation.ClassifyConversion(sourceType, targetType).IsReference;
Microsoft.Extensions.Logging.Generators (1)
LoggerMessageGenerator.Parser.cs (1)
729return conversion.IsIdentity || (conversion.IsReference && conversion.IsImplicit);
Microsoft.Extensions.Options.SourceGeneration (2)
Parser.cs (1)
731return conversion.IsReference && conversion.IsImplicit;
ParserUtilities.cs (1)
55return conversion.IsIdentity || (conversion.IsReference && conversion.IsImplicit);
Microsoft.Gen.ComplianceReports (1)
Parser.cs (1)
288return conversion.IsReference && conversion.IsImplicit;
Microsoft.Gen.Logging (1)
src\Generators\Shared\ParserUtilities.cs (1)
60return conversion.IsIdentity || (conversion.IsReference && conversion.IsImplicit);
Microsoft.Gen.Metrics (1)
src\Generators\Shared\ParserUtilities.cs (1)
60return conversion.IsIdentity || (conversion.IsReference && conversion.IsImplicit);
Microsoft.Gen.MetricsReports (1)
src\Generators\Shared\ParserUtilities.cs (1)
60return conversion.IsIdentity || (conversion.IsReference && conversion.IsImplicit);