43 references to GetPublicSymbol
Microsoft.CodeAnalysis.CSharp (43)
Compilation\CSharpCompilation.cs (2)
1784=> GetHostObjectTypeSymbol()?.GetPublicSymbol(); 4528get { return DynamicType.GetPublicSymbol(); }
Compilation\CSharpSemanticModel.cs (3)
540return GetSymbolInfoFromSymbolOrNone(GetTypeInfoWorker(parent, cancellationToken).Type.GetPublicSymbol()); 548return GetSymbolInfoFromSymbolOrNone(varTypeInfo.Type.GetPublicSymbol()); 551return GetSymbolInfoFromSymbolOrNone(GetTypeInfoWorker(parent, cancellationToken).Type.GetPublicSymbol());
Operations\CSharpOperationFactory.cs (34)
915ITypeSymbol containingType = boundDynamicObjectInitializerMember.ReceiverType.GetPublicSymbol(); 1273var elementType = element.EnumeratorInfoOpt?.ElementType.GetPublicSymbol(); 1502return new BinaryOperation(operatorKind, left, right, isLifted, isChecked, isCompareText, operatorMethod, constrainedToTypeOpt.GetPublicSymbol(), unaryOperatorMethod, 1901info = new ForEachLoopOperationInfo(enumeratorInfoOpt.ElementType.GetPublicSymbol(), 2012ITypeSymbol exceptionType = boundCatchBlock.ExceptionTypeOpt.GetPublicSymbol() ?? _semanticModel.Compilation.ObjectType; 2251return new TupleOperation(elements, naturalType.GetPublicSymbol(), _semanticModel, syntax, type, isImplicit); 2522return new ConstantPatternOperation(value, inputType.GetPublicSymbol(), narrowedType.GetPublicSymbol(), _semanticModel, syntax, isImplicit); 2533return new RelationalPatternOperation(operatorKind, value, inputType.GetPublicSymbol(), narrowedType.GetPublicSymbol(), _semanticModel, syntax, isImplicit); 2544ITypeSymbol inputType = boundDeclarationPattern.InputType.GetPublicSymbol(); 2545ITypeSymbol narrowedType = boundDeclarationPattern.NarrowedType.GetPublicSymbol(); 2555ITypeSymbol matchedType = (boundRecursivePattern.DeclaredType?.Type ?? boundRecursivePattern.InputType.StrippedType()).GetPublicSymbol(); 2568boundRecursivePattern.InputType.GetPublicSymbol(), 2569boundRecursivePattern.NarrowedType.GetPublicSymbol(), 2582boundITuplePattern.InputType.StrippedType().GetPublicSymbol(), 2587boundITuplePattern.InputType.GetPublicSymbol(), 2588boundITuplePattern.NarrowedType.GetPublicSymbol(), 2597matchedType: boundTypePattern.NarrowedType.GetPublicSymbol(), 2598inputType: boundTypePattern.InputType.GetPublicSymbol(), 2599narrowedType: boundTypePattern.NarrowedType.GetPublicSymbol(), 2611inputType: boundNode.InputType.GetPublicSymbol(), 2612narrowedType: boundNode.NarrowedType.GetPublicSymbol(), 2625inputType: boundNode.InputType.GetPublicSymbol(), 2626narrowedType: boundNode.NarrowedType.GetPublicSymbol(), 2636boundNegatedPattern.InputType.GetPublicSymbol(), 2637boundNegatedPattern.NarrowedType.GetPublicSymbol(), 2676boundBinaryPattern.InputType.GetPublicSymbol(), 2677boundBinaryPattern.NarrowedType.GetPublicSymbol(), 2845inputType: boundNode.InputType.GetPublicSymbol(), 2846narrowedType: boundNode.NarrowedType.GetPublicSymbol(), 2902createReceiver(), _semanticModel, nameSyntax, type: field.Type.GetPublicSymbol(), constantValue, isImplicit: false); 2908createReceiver(), _semanticModel, nameSyntax, type: property.Type.GetPublicSymbol(), isImplicit: false); 2928=> member.Receiver?.Type.StrippedType().GetPublicSymbol() ?? matchedType;
Operations\CSharpOperationFactory_Methods.cs (2)
34new InstanceReferenceOperation(InstanceReferenceKind.ImplicitReceiver, _semanticModel, syntax, type.GetPublicSymbol(), isImplicit: true); 447type: property.Type.GetPublicSymbol(),
Symbols\PublicModel\MethodSymbol.cs (1)
200GetPublicSymbol();
Symbols\PublicModel\TypeSymbol.cs (1)
82return UnderlyingTypeSymbol.OriginalDefinition.GetPublicSymbol();