59 references to GetPublicSymbol
Microsoft.CodeAnalysis.CSharp (59)
Binder\Semantics\Conversions\Conversion.cs (1)
1022return this.Method.GetPublicSymbol();
Compilation\CSharpCompilation.cs (3)
4230return new SynthesizedIntrinsicOperatorSymbol(csharpLeftType, name, csharpRightType, csharpReturnType).GetPublicSymbol(); 4456return new SynthesizedIntrinsicOperatorSymbol(csharpOperandType, name, csharpReturnType).GetPublicSymbol(); 4518return this.GetEntryPoint(cancellationToken).GetPublicSymbol();
Compilation\CSharpSemanticModel.cs (4)
1673results.Add(reduced.GetPublicSymbol()); 1989return new SymbolInfo(pat.DeconstructMethod.GetPublicSymbol()); 5184: ImmutableArray.Create<ISymbol>(namedType, primaryConstructor.GetPublicSymbol()); 5202return interceptor.GetPublicSymbol();
Compilation\MemberSemanticModel.cs (5)
624return GetDeclaredLocalFunction(declarationSyntax).GetPublicSymbol(); 932getResult: awaitableInfo.GetResult.GetPublicSymbol(), 988enumeratorInfoOpt.GetEnumeratorInfo.Method.GetPublicSymbol(), 989enumeratorInfoOpt.MoveNextInfo.Method.GetPublicSymbol(), 991disposeMethod.GetPublicSymbol(),
Compilation\SyntaxTreeSemanticModel.cs (4)
1470return SynthesizedSimpleProgramEntryPointSymbol.GetSimpleProgramEntryPoint(Compilation, declarationSyntax, fallbackToMainEntryPoint: false).GetPublicSymbol(); 1508return ((MethodSymbol)GetDeclaredMemberSymbol(declarationSyntax)).GetPublicSymbol(); 1590return (this.GetDeclaredMember(container, declarationSyntax.Span, isKnownToBeANamespace: false) as MethodSymbol).GetPublicSymbol(); 1613return (this.GetDeclaredMember(container, declarationSyntax.Span, isKnownToBeANamespace: false) as MethodSymbol).GetPublicSymbol();
FlowAnalysis\CSharpDataFlowAnalysis.cs (1)
397return ImmutableArray.CreateRange(data.Where(s => s.CanBeReferencedByName).OrderBy(s => s, LexicalOrderSymbolComparer.Instance).Select(p => p.GetPublicSymbol()));
Operations\CSharpOperationFactory.cs (23)
458return new InvocationOperation(targetMethod.GetPublicSymbol(), constrainedToType.GetPublicSymbol(), receiver, isVirtual, arguments, _semanticModel, syntax, type, isImplicit); 516var objectCreationOperation = new ObjectCreationOperation(boundAttribute.Constructor.GetPublicSymbol(), initializer, DeriveArguments(boundAttribute), _semanticModel, boundAttribute.Syntax, boundAttribute.GetPublicTypeSymbol(), boundAttribute.ConstantValueOpt, isImplicit: true); 733return new ObjectCreationOperation(constructor.GetPublicSymbol(), initializer, arguments, _semanticModel, syntax, type, constantValue, isImplicit); 744return new WithOperation(operand, constructor.GetPublicSymbol(), initializer, _semanticModel, syntax, type, isImplicit); 940return new InvocationOperation(addMethod.GetPublicSymbol(), constrainedToType: null, receiver, isVirtual, arguments, _semanticModel, syntax, type, isImplicit); 996IMethodSymbol symbol = boundLambda.Symbol.GetPublicSymbol(); 1009IMethodSymbol symbol = boundLocalFunctionStatement.Symbol.GetPublicSymbol(); 1168return new MethodReferenceOperation(methodSymbol.GetPublicSymbol(), constrainedToType.GetPublicSymbol(), isVirtual, instance, _semanticModel, bindingSyntax, bindingType, isImplicit); 1228IMethodSymbol? constructMethod = getConstructMethod((CSharpCompilation)_semanticModel.Compilation, expr).GetPublicSymbol(); 1365IMethodSymbol? operatorMethod = method.GetPublicSymbol(); 1392IMethodSymbol? operatorMethod = boundIncrementOperator.MethodOpt.GetPublicSymbol(); 1435IMethodSymbol? operatorMethod = boundUnaryOperator.MethodOpt.GetPublicSymbol(); 1486IMethodSymbol operatorMethod = boundBinaryOperator.LogicalOperator.GetPublicSymbol(); 1488boundBinaryOperator.FalseOperator.GetPublicSymbol() : 1489boundBinaryOperator.TrueOperator.GetPublicSymbol(); 1510IMethodSymbol? operatorMethod = boundBinaryOperator.Method.GetPublicSymbol(); 1902enumeratorInfoOpt.GetEnumeratorInfo.Method.GetPublicSymbol(), 1904enumeratorInfoOpt.MoveNextInfo.Method.GetPublicSymbol(), 1916enumeratorInfoOpt.PatternDisposeInfo?.Method.GetPublicSymbol(), 2039disposeMethod: boundUsingStatement.PatternDisposeInfoOpt.Method.GetPublicSymbol(), 2178disposeMethod: usingDecl.PatternDisposeInfoOpt.Method.GetPublicSymbol(), 2564boundRecursivePattern.DeconstructMethod.GetPublicSymbol(), 2835boundRange.MethodOpt.GetPublicSymbol(),
Symbols\Attributes\AttributeData.cs (1)
201get { return this.AttributeConstructor.GetPublicSymbol(); }
Symbols\PublicModel\EventSymbol.cs (2)
44return _underlying.AddMethod.GetPublicSymbol(); 52return _underlying.RemoveMethod.GetPublicSymbol();
Symbols\PublicModel\FunctionPointerTypeSymbol.cs (1)
21public IMethodSymbol Signature => _underlying.Signature.GetPublicSymbol();
Symbols\PublicModel\LabelSymbol.cs (1)
25return _underlying.ContainingMethod.GetPublicSymbol();
Symbols\PublicModel\MethodSymbol.cs (9)
137return _underlying.ConstructedFrom.GetPublicSymbol(); 161return _underlying.OriginalDefinition.GetPublicSymbol(); 169return _underlying.OverriddenMethod.GetPublicSymbol(); 192return _underlying.ReducedFrom.GetPublicSymbol(); 207GetPublicSymbol(); 277return _underlying.Construct(ConstructTypeArguments(typeArguments)).GetPublicSymbol(); 282return _underlying.Construct(ConstructTypeArguments(typeArguments, typeArgumentNullableAnnotations)).GetPublicSymbol(); 289return _underlying.PartialImplementationPart.GetPublicSymbol(); 297return _underlying.PartialDefinitionPart.GetPublicSymbol();
Symbols\PublicModel\NamedTypeSymbol.cs (1)
111return UnderlyingNamedTypeSymbol.DelegateInvokeMethod.GetPublicSymbol();
Symbols\PublicModel\PropertySymbol.cs (2)
53get { return _underlying.GetMethod.GetPublicSymbol(); } 58get { return _underlying.SetMethod.GetPublicSymbol(); }
Symbols\PublicModel\TypeParameterSymbol.cs (1)
54get { return _underlying.DeclaringMethod.GetPublicSymbol(); }