62 references to GetPublicSymbol
Microsoft.CodeAnalysis.CSharp (62)
Binder\Semantics\Conversions\Conversion.cs (1)
1074return this.Method.GetPublicSymbol();
Compilation\CSharpCompilation.cs (3)
4462return new SynthesizedIntrinsicOperatorSymbol(csharpLeftType, name, csharpRightType, csharpReturnType).GetPublicSymbol(); 4688return new SynthesizedIntrinsicOperatorSymbol(csharpOperandType, name, csharpReturnType).GetPublicSymbol(); 4750return this.GetEntryPoint(cancellationToken).GetPublicSymbol();
Compilation\CSharpSemanticModel.cs (4)
1691results.Add(reduced.GetPublicSymbol()); 2009return new SymbolInfo(pat.DeconstructMethod.GetPublicSymbol()); 5245: ImmutableArray.Create<ISymbol>(namedType, primaryConstructor.GetPublicSymbol()); 5263return interceptor.GetPublicSymbol();
Compilation\MemberSemanticModel.cs (6)
625return GetDeclaredLocalFunction(declarationSyntax).GetPublicSymbol(); 963getResult: awaitableInfo.GetResult.GetPublicSymbol(), 964runtimeAwaitMethod: awaitableInfo.RuntimeAsyncAwaitCall?.Method.GetPublicSymbol(), 1025enumeratorInfoOpt.GetEnumeratorInfo.Method.GetPublicSymbol(), 1026enumeratorInfoOpt.MoveNextInfo.Method.GetPublicSymbol(), 1029disposeMethod.GetPublicSymbol(),
Compilation\SyntaxTreeSemanticModel.cs (4)
1497return SynthesizedSimpleProgramEntryPointSymbol.GetSimpleProgramEntryPoint(Compilation, declarationSyntax, fallbackToMainEntryPoint: false).GetPublicSymbol(); 1535return ((MethodSymbol)GetDeclaredMemberSymbol(declarationSyntax)).GetPublicSymbol(); 1617return (this.GetDeclaredMember(container, declarationSyntax.Span, isKnownToBeANamespace: false) as MethodSymbol).GetPublicSymbol(); 1640return (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 (24)
465return new InvocationOperation(targetMethod.GetPublicSymbol(), constrainedToType.GetPublicSymbol(), receiver, isVirtual, arguments, _semanticModel, syntax, type, isImplicit); 523var objectCreationOperation = new ObjectCreationOperation(boundAttribute.Constructor.GetPublicSymbol(), initializer, DeriveArguments(boundAttribute), _semanticModel, boundAttribute.Syntax, boundAttribute.GetPublicTypeSymbol(), boundAttribute.ConstantValueOpt, isImplicit: true); 741boundObjectCreationExpression.Constructor.GetPublicSymbol(), 759return new WithOperation(operand, constructor.GetPublicSymbol(), initializer, _semanticModel, syntax, type, isImplicit); 955return new InvocationOperation(addMethod.GetPublicSymbol(), constrainedToType: null, receiver, isVirtual, arguments, _semanticModel, syntax, type, isImplicit); 1011IMethodSymbol symbol = boundLambda.Symbol.GetPublicSymbol(); 1024IMethodSymbol symbol = boundLocalFunctionStatement.Symbol.GetPublicSymbol(); 1208return new MethodReferenceOperation(methodSymbol.GetPublicSymbol(), constrainedToType.GetPublicSymbol(), isVirtual, instance, _semanticModel, bindingSyntax, bindingType, isImplicit); 1266getConstructMethod(expr).GetPublicSymbol(), 1440IMethodSymbol? operatorMethod = method.GetPublicSymbol(); 1467IMethodSymbol? operatorMethod = boundIncrementOperator.MethodOpt.GetPublicSymbol(); 1510IMethodSymbol? operatorMethod = boundUnaryOperator.MethodOpt.GetPublicSymbol(); 1561IMethodSymbol operatorMethod = boundBinaryOperator.LogicalOperator.GetPublicSymbol(); 1563boundBinaryOperator.FalseOperator.GetPublicSymbol() : 1564boundBinaryOperator.TrueOperator.GetPublicSymbol(); 1596binaryOperatorMethod.GetPublicSymbol(), 1598unaryOperatorMethod.GetPublicSymbol(), 1968enumeratorInfoOpt.GetEnumeratorInfo.Method.GetPublicSymbol(), 1970enumeratorInfoOpt.MoveNextInfo.Method.GetPublicSymbol(), 1982enumeratorInfoOpt.PatternDisposeInfo?.Method.GetPublicSymbol(), 2105disposeMethod: boundUsingStatement.PatternDisposeInfoOpt.Method.GetPublicSymbol(), 2244disposeMethod: usingDecl.PatternDisposeInfoOpt.Method.GetPublicSymbol(), 2630boundRecursivePattern.DeconstructMethod.GetPublicSymbol(), 2901boundRange.MethodOpt.GetPublicSymbol(),
Symbols\Attributes\AttributeData.cs (1)
199get { 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 (10)
138return _underlying.ConstructedFrom.GetPublicSymbol(); 162return _underlying.OriginalDefinition.GetPublicSymbol(); 170return _underlying.OverriddenMethod.GetPublicSymbol(); 193return _underlying.ReducedFrom.GetPublicSymbol(); 209GetPublicSymbol(); 291return _underlying.Construct(ConstructTypeArguments(typeArguments)).GetPublicSymbol(); 296return _underlying.Construct(ConstructTypeArguments(typeArguments, typeArgumentNullableAnnotations)).GetPublicSymbol(); 303return _underlying.PartialImplementationPart.GetPublicSymbol(); 311return _underlying.PartialDefinitionPart.GetPublicSymbol(); 375return implementation.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(); }