42 references to GetPublicSymbol
Microsoft.CodeAnalysis.CSharp (42)
Compilation\CSharpCompilation.cs (2)
1867
=> GetHostObjectTypeSymbol()?.
GetPublicSymbol
();
4740
get { return DynamicType.
GetPublicSymbol
(); }
Compilation\CSharpSemanticModel.cs (3)
544
return GetSymbolInfoFromSymbolOrNone(GetTypeInfoWorker(parent, cancellationToken).Type.
GetPublicSymbol
());
552
return GetSymbolInfoFromSymbolOrNone(varTypeInfo.Type.
GetPublicSymbol
());
555
return GetSymbolInfoFromSymbolOrNone(GetTypeInfoWorker(parent, cancellationToken).Type.
GetPublicSymbol
());
Operations\CSharpOperationFactory.cs (34)
930
ITypeSymbol containingType = boundDynamicObjectInitializerMember.ReceiverType.
GetPublicSymbol
();
1348
var elementType = element.EnumeratorInfoOpt?.ElementType.
GetPublicSymbol
();
1577
return new BinaryOperation(operatorKind, left, right, isLifted, isChecked, isCompareText, operatorMethod, constrainedToTypeOpt.
GetPublicSymbol
(), unaryOperatorMethod,
1967
info = new ForEachLoopOperationInfo(enumeratorInfoOpt.ElementType.
GetPublicSymbol
(),
2078
ITypeSymbol exceptionType = boundCatchBlock.ExceptionTypeOpt.
GetPublicSymbol
() ?? _semanticModel.Compilation.ObjectType;
2317
return new TupleOperation(elements, naturalType.
GetPublicSymbol
(), _semanticModel, syntax, type, isImplicit);
2588
return new ConstantPatternOperation(value, inputType.
GetPublicSymbol
(), narrowedType.
GetPublicSymbol
(), _semanticModel, syntax, isImplicit);
2599
return new RelationalPatternOperation(operatorKind, value, inputType.
GetPublicSymbol
(), narrowedType.
GetPublicSymbol
(), _semanticModel, syntax, isImplicit);
2610
ITypeSymbol inputType = boundDeclarationPattern.InputType.
GetPublicSymbol
();
2611
ITypeSymbol narrowedType = boundDeclarationPattern.NarrowedType.
GetPublicSymbol
();
2621
ITypeSymbol matchedType = (boundRecursivePattern.DeclaredType?.Type ?? boundRecursivePattern.InputType.StrippedType()).
GetPublicSymbol
();
2634
boundRecursivePattern.InputType.
GetPublicSymbol
(),
2635
boundRecursivePattern.NarrowedType.
GetPublicSymbol
(),
2648
boundITuplePattern.InputType.StrippedType().
GetPublicSymbol
(),
2653
boundITuplePattern.InputType.
GetPublicSymbol
(),
2654
boundITuplePattern.NarrowedType.
GetPublicSymbol
(),
2663
matchedType: boundTypePattern.NarrowedType.
GetPublicSymbol
(),
2664
inputType: boundTypePattern.InputType.
GetPublicSymbol
(),
2665
narrowedType: boundTypePattern.NarrowedType.
GetPublicSymbol
(),
2677
inputType: boundNode.InputType.
GetPublicSymbol
(),
2678
narrowedType: boundNode.NarrowedType.
GetPublicSymbol
(),
2691
inputType: boundNode.InputType.
GetPublicSymbol
(),
2692
narrowedType: boundNode.NarrowedType.
GetPublicSymbol
(),
2702
boundNegatedPattern.InputType.
GetPublicSymbol
(),
2703
boundNegatedPattern.NarrowedType.
GetPublicSymbol
(),
2742
boundBinaryPattern.InputType.
GetPublicSymbol
(),
2743
boundBinaryPattern.NarrowedType.
GetPublicSymbol
(),
2911
inputType: boundNode.InputType.
GetPublicSymbol
(),
2912
narrowedType: boundNode.NarrowedType.
GetPublicSymbol
(),
2968
createReceiver(), _semanticModel, nameSyntax, type: field.Type.
GetPublicSymbol
(), constantValue, isImplicit: false);
2974
createReceiver(), _semanticModel, nameSyntax, type: property.Type.
GetPublicSymbol
(), isImplicit: false);
2994
=> member.Receiver?.Type.StrippedType().
GetPublicSymbol
() ?? matchedType;
Operations\CSharpOperationFactory_Methods.cs (2)
34
new InstanceReferenceOperation(InstanceReferenceKind.ImplicitReceiver, _semanticModel, syntax, type.
GetPublicSymbol
(), isImplicit: true);
447
type: property.Type.
GetPublicSymbol
(),
Symbols\PublicModel\TypeSymbol.cs (1)
89
return UnderlyingTypeSymbol.OriginalDefinition.
GetPublicSymbol
();