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