12 references to ClassifyConversion
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
527
Conversion conversion = _typeSymbols.Compilation.
ClassifyConversion
(source, dest);
Microsoft.CodeAnalysis.CSharp (3)
Compilation\CSharpCompilation.cs (2)
2323
return
ClassifyConversion
(source, destination).ToCommonConversion();
2349
Conversion result =
ClassifyConversion
(sourceType, destination);
CSharpExtensions.cs (1)
443
return cscomp.
ClassifyConversion
(source, destination);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (5)
CodeGen\CodeGenTupleTest.cs (5)
18850
Assert.Equal(ConversionKind.Identity, comp.
ClassifyConversion
(int_string1, int_string1).Kind);
18851
Assert.Equal(ConversionKind.Identity, comp.
ClassifyConversion
(int_string1, int_string2).Kind);
18852
Assert.Equal(ConversionKind.Identity, comp.
ClassifyConversion
(int_string1, int_stringNamed).Kind);
18911
Assert.Equal(ConversionKind.ImplicitTuple, comp.
ClassifyConversion
(int_string, int_object).Kind);
18912
Assert.Equal(ConversionKind.ExplicitTuple, comp.
ClassifyConversion
(int_object, int_string).Kind);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\FunctionPointerTests.cs (3)
609
var classifiedConversion = comp.
ClassifyConversion
(typeInfo.Type!, typeInfo.ConvertedType!);
850
var classifiedConversion = comp.
ClassifyConversion
(typeInfo.Type!, typeInfo.ConvertedType!);
909
var classifiedConversion = comp.
ClassifyConversion
(typeInfo.Type!, typeInfo.ConvertedType!);