123 instantiations of Name
Microsoft.CSharp (123)
Microsoft\CSharp\RuntimeBinder\Syntax\NameManager.cs (121)
11new Name(".ctor"), 12new Name("Finalize"), 13new Name(".cctor"), 14new Name("*"), 15new Name("?*"), 16new Name("#"), 17new Name("&"), 18new Name("[X\001"), 19new Name("[X\002"), 20new Name("[X\003"), 21new Name("[G\001"), 22new Name("[G\002"), 23new Name("[G\003"), 24new Name("Invoke"), 25new Name("Length"), 26new Name("Item"), 27new Name("$Item$"), 28new Name("Combine"), 29new Name("Remove"), 30new Name("op_Explicit"), 31new Name("op_Implicit"), 32new Name("op_UnaryPlus"), 33new Name("op_UnaryNegation"), 34new Name("op_OnesComplement"), 35new Name("op_Increment"), 36new Name("op_Decrement"), 37new Name("op_Addition"), 38new Name("op_Subtraction"), 39new Name("op_Multiply"), 40new Name("op_Division"), 41new Name("op_Modulus"), 42new Name("op_ExclusiveOr"), 43new Name("op_BitwiseAnd"), 44new Name("op_BitwiseOr"), 45new Name("op_LeftShift"), 46new Name("op_RightShift"), 47new Name("op_Equals"), 48new Name("op_Compare"), 49new Name("op_Equality"), 50new Name("op_Inequality"), 51new Name("op_GreaterThan"), 52new Name("op_LessThan"), 53new Name("op_GreaterThanOrEqual"), 54new Name("op_LessThanOrEqual"), 55new Name("op_True"), 56new Name("op_False"), 57new Name("op_LogicalNot"), 58new Name("Concat"), 59new Name("Add"), 60new Name("get_Length"), 61new Name("get_Chars"), 62new Name("CreateDelegate"), 63new Name("FixedElementField"), 64new Name("HasValue"), 65new Name("get_HasValue"), 66new Name("Value"), 67new Name("get_Value"), 68new Name("GetValueOrDefault"), 69new Name("?"), 70new Name("<?>"), 71new Name("Lambda"), 72new Name("Parameter"), 73new Name("Constant"), 74new Name("Convert"), 75new Name("ConvertChecked"), 76new Name("AddChecked"), 77new Name("Divide"), 78new Name("Modulo"), 79new Name("Multiply"), 80new Name("MultiplyChecked"), 81new Name("Subtract"), 82new Name("SubtractChecked"), 83new Name("And"), 84new Name("Or"), 85new Name("ExclusiveOr"), 86new Name("LeftShift"), 87new Name("RightShift"), 88new Name("AndAlso"), 89new Name("OrElse"), 90new Name("Equal"), 91new Name("NotEqual"), 92new Name("GreaterThanOrEqual"), 93new Name("GreaterThan"), 94new Name("LessThan"), 95new Name("LessThanOrEqual"), 96new Name("ArrayIndex"), 97new Name("Assign"), 98new Name("Condition"), 99new Name("Field"), 100new Name("Call"), 101new Name("New"), 102new Name("Quote"), 103new Name("ArrayLength"), 104new Name("UnaryPlus"), 105new Name("Negate"), 106new Name("NegateChecked"), 107new Name("Not"), 108new Name("NewArrayInit"), 109new Name("Property"), 110new Name("AddEventHandler"), 111new Name("RemoveEventHandler"), 112new Name("InvocationList"), 113new Name("GetOrCreateEventRegistrationTokenTable"), 114new Name("void"), 115new Name(""), 117new Name("true"), 118new Name("false"), 119new Name("null"), 120new Name("base"), 121new Name("this"), 122new Name("explicit"), 123new Name("implicit"), 124new Name("__arglist"), 125new Name("__makeref"), 126new Name("__reftype"), 127new Name("__refvalue"), 128new Name("as"), 129new Name("checked"), 130new Name("is"), 131new Name("typeof"), 132new Name("unchecked")
Microsoft\CSharp\RuntimeBinder\Syntax\NameTable.cs (2)
46return AddEntry(new Name(key), hashCode); 60return AddEntry(new Name(key.Substring(0, length)), hashCode);
83 references to Name
Microsoft.CSharp (83)
Microsoft\CSharp\RuntimeBinder\Errors\ErrorFmt.cs (3)
56internal Name name; 74public ErrArg(Name name) 140public static implicit operator ErrArg(Name name)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (1)
110private void ErrAppendName(Name name)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (1)
537Name name = NameManager.Add(Name);
Microsoft\CSharp\RuntimeBinder\Semantics\Binding\Better.cs (2)
183private static int FindName(List<Name> names, Name name)
Microsoft\CSharp\RuntimeBinder\Semantics\COperators.cs (5)
96private static Dictionary<Name, string> s_operatorsByName; 98private static Dictionary<Name, string> GetOperatorByName() 100Dictionary<Name, string> dict = new Dictionary<Name, string>(28) 121public static string OperatorOfMethodName(Name name) =>
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (3)
551Name pName = ExpressionKindName(ek); 1152foreach (Name i in mostDerivedMethod.ParameterNames) 1633private static Name ExpressionKindName(ExpressionKind ek)
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (3)
25public static ExprMemberGroup CreateMemGroup(EXPRFLAG flags, Name name, TypeArray typeArgs, SYMKIND symKind, CType parentType, Expr obj, CMemberLookupResults memberLookupResults) => 31Name name = method.Sym?.name; 214public static ExprNamedArgumentSpecification CreateNamedArgumentSpecification(Name name, Expr value) =>
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (13)
50private Name _pInvalidSpecifiedName; 51private Name _pNameUsedInPositionalArgument; 52private Name _pDuplicateSpecifiedName; 415foreach (Name name in methprop.ParameterNames) 557Name name = NameManager.GetPredefinedName(PredefinedName.PN_CAP_VALUE); 719private static Expr FindArgumentWithName(ArgInfos pArguments, Name pName) 743List<Name> currentPosition = methprop.ParameterNames; 744HashSet<Name> names = new HashSet<Name>(); 756Name name = named.Name; 1114List<Name> paramNames = FindMostDerivedMethod(_misnamed.MethProp(), _pGroup.OptionalObject).ParameterNames; 1126Name name = named.Name; 1149Name nameErr = _pGroup.Name;
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (2)
44private Name _name; 522public bool Lookup(CType typeSrc, Expr obj, ParentSymbol symWhere, Name name, int arity, MemLookFlags flags)
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookupResults.cs (2)
20private readonly Name _pName; // The name that we're looking for. 24Name name)
Microsoft\CSharp\RuntimeBinder\Semantics\MethodIterator.cs (3)
20private readonly Name _name; 28public CMethodIterator(Name name, TypeArray containingTypes, CType qualifyingType, AggregateSymbol context, int arity, EXPRFLAG flags, symbmask_t mask, ArgInfos nonTrailingNamedArguments) 103List<Name> paramNames = ExpressionBinder.GroupToArgsBinder
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (1)
2553Name name = ExpressionKindName(ek);
Microsoft\CSharp\RuntimeBinder\Semantics\PredefinedMembers.cs (3)
213Name propertyName, 332Name methodName, 362private static MethodSymbol LookupMethodWhileLoading(AggregateSymbol type, int cMethodTyVars, Name methodName, ACCESS methodAccess, bool isStatic, bool isVirtual, CType returnType, TypeArray argumentTypes)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\MethodOrPropertySymbol.cs (2)
35public List<Name> ParameterNames { get; private set; } 85ParameterNames = new List<Name>();
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\Symbol.cs (1)
65public Name name; // name of the symbol
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (1)
20public static Symbol LookupAggMember(Name name, AggregateSymbol agg, symbmask_t mask) => SymbolStore.LookupSym(name, agg, mask);
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolStore.cs (3)
20public static Symbol LookupSym(Name name, ParentSymbol parent, symbmask_t kindmask) 80private readonly Name _name; 83public Key(Name name, ParentSymbol parent)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymFactory.cs (11)
15Name name, 79public static NamespaceSymbol CreateNamespace(Name name, NamespaceSymbol parent) 89public static AggregateSymbol CreateAggregate(Name name, NamespaceOrAggregateSymbol parent) 107public static FieldSymbol CreateMemberVar(Name name, AggregateSymbol parent) 118public static LocalVariableSymbol CreateLocalVar(Name name, Scope parent, CType type) 129public static MethodSymbol CreateMethod(Name name, AggregateSymbol parent) => 133public static PropertySymbol CreateProperty(Name name, AggregateSymbol parent) 141public static EventSymbol CreateEvent(Name name, AggregateSymbol parent) 150public static TypeParameterSymbol CreateMethodTypeParameter(Name pName, MethodSymbol pParent, int index, int indexTotal) 163public static TypeParameterSymbol CreateClassTypeParameter(Name pName, AggregateSymbol pParent, int index, int indexTotal) 179public static IndexerSymbol CreateIndexer(Name name, ParentSymbol parent)
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\MemberGroup.cs (2)
11public ExprMemberGroup(EXPRFLAG flags, Name name, TypeArray typeArgs, SYMKIND symKind, CType parentType, Expr optionalObject, CMemberLookupResults memberLookupResults) 27public Name Name { get; }
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\NamedArgumentSpecification.cs (2)
12public ExprNamedArgumentSpecification(Name name, Expr value) 19public Name Name { get; }
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeParameterType.cs (1)
30public Name Name => Symbol.name;
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (6)
280private static Name GetName(string p) => NameManager.Add(p ?? ""); 284private static Name GetName(Type type) 816Name name = GetName(sz); 1157internal static void AddPredefinedPropertyToSymbolTable(AggregateSymbol type, Name property) 1177Name name; 1326internal static void AddPredefinedMethodToSymbolTable(AggregateSymbol type, Name methodName)
Microsoft\CSharp\RuntimeBinder\Syntax\NameManager.cs (5)
10private static readonly Name[] s_predefinedNames = { 141foreach (Name name in s_predefinedNames) 149internal static Name Add(string key) 159internal static Name Add(string key, int length) 166internal static Name GetPredefinedName(PredefinedName id)
Microsoft\CSharp\RuntimeBinder\Syntax\NameTable.cs (7)
13public readonly Name Name; 17public Entry(Name name, int hashCode, Entry next) 35public Name Add(string key) 49public Name Add(string key, int length) 63internal void Add(Name name) 134private Name AddEntry(Name name, int hashCode)