29 references to MethodSymbol
Microsoft.CodeAnalysis.CSharp (5)
Binder\Semantics\Conversions\Conversion.cs (3)
1027/// Type parameter which runtime type will be used to resolve virtual invocation of the <see cref="MethodSymbol" />, if any. 1028/// Null if <see cref="MethodSymbol" /> is resolved statically, or is null. 1153var (methodSymbol, constrainedToType) = IsUserDefined ? (MethodSymbol, ConstrainedToType) : (null, null);
Compilation\DeconstructionInfo.cs (1)
39? _conversion.MethodSymbol
Lowering\ClosureConversion\ClosureConversion.cs (1)
1392Debug.Assert(_inExpressionLambda || conversion.Conversion.MethodSymbol is null);
Microsoft.CodeAnalysis.CSharp.CodeStyle (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ConversionExtensions.cs (3)
18conversion.MethodSymbol != null && 19conversion.MethodSymbol.MethodKind == MethodKind.Conversion && 20conversion.MethodSymbol.Name == "op_Implicit";
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (4)
416if (!Equals(originalParentConversion.MethodSymbol, rewrittenConversion.MethodSymbol)) 1236if (!Equals(oldConversion.MethodSymbol, newConversion.MethodSymbol))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (4)
869if (originalIsUserDefined || originalConversion.MethodSymbol != null || newConversion.MethodSymbol != null) 871return SymbolsAreCompatible(originalConversion.MethodSymbol, newConversion.MethodSymbol);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenAwaitForeachTests.cs (1)
4474Assert.Equal("Element Element.op_Implicit(System.Int32 value)", info.ElementConversion.MethodSymbol.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\GetSemanticInfoTests.cs (1)
3423Assert.Equal("G M.op_Implicit(M? m)", conversion.MethodSymbol.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Workspaces (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ConversionExtensions.cs (3)
18conversion.MethodSymbol != null && 19conversion.MethodSymbol.MethodKind == MethodKind.Conversion && 20conversion.MethodSymbol.Name == "op_Implicit";
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (4)
416if (!Equals(originalParentConversion.MethodSymbol, rewrittenConversion.MethodSymbol)) 1236if (!Equals(oldConversion.MethodSymbol, newConversion.MethodSymbol))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (4)
869if (originalIsUserDefined || originalConversion.MethodSymbol != null || newConversion.MethodSymbol != null) 871return SymbolsAreCompatible(originalConversion.MethodSymbol, newConversion.MethodSymbol);