36 references to Name
Microsoft.CodeAnalysis (3)
MetadataReader\PEModule.cs (3)
3074if (!metadataReader.StringComparer.Equals(methodDef.Name, WellKnownMemberNames.InstanceConstructorName)) 3299return MetadataReader.GetString(MetadataReader.GetMethodDefinition(methodDef).Name); 3369name = MetadataReader.GetString(methodRow.Name);
Microsoft.CodeAnalysis.CSharp (1)
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (1)
174if (reader.StringComparer.Equals(methodDef.Name, "Invoke"))
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\CodeGenAsyncMainTests.cs (1)
725=> metadataReader.GetString(metadataReader.GetMethodDefinition(handle).Name);
CodeGen\DestructorTests.cs (1)
783Single(handle => peFileReader.GetString(peFileReader.GetMethodDefinition(handle).Name) == WellKnownMemberNames.DestructorName);
Emit\CompilationEmitTests.cs (2)
5084if (peReader.StringComparer.Equals(method.Name, "get_P1")) 5088if (peReader.StringComparer.Equals(method.Name, "get_P2"))
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
PDB\PDBTests.cs (1)
688Assert.Equal("Main", mdReader.GetString(methodDef.Name));
PDB\PortablePdbTests.cs (1)
58var name = mdReader.GetString(method.Name);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (7)
Attributes\AttributeTests_Nullable.cs (1)
4874var method = typeDef.GetMethods().Select(m => reader.GetMethodDefinition(m)).Single(m => reader.StringComparer.Equals(m.Name, "Method"));
Attributes\AttributeTests_WellKnownAttributes.cs (6)
63var name = metadataReader.GetString(method.Name); 1149string methodName = metadataReader.GetString(methodDef.Name); 3079string methodName = peReader.GetString(methodDef.Name); 3153string methodName = metadataReader.GetString(methodDef.Name); 3287var name = peReader.GetString(row.Name); 10725var name = peReader.GetString(method.Name);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
EmitMetadataTestBase.cs (1)
150name = metadataReader.GetString(metadataReader.GetMethodDefinition((MethodDefinitionHandle)token).Name);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
MetadataUtilities.cs (1)
485if (reader.StringComparer.Equals(methodDef.Name, methodName))
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (2)
MetadataResolver.cs (2)
267if (_reader.StringComparer.Equals(methodDef.Name, ctorName, ignoreCase: false) && MatchesTypeName(declaringTypeDef, name)) 273return MatchesMemberName(methodDef.Name, name);
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (1)
FunctionResolverTestBase.cs (1)
48builder.Append(reader.GetString(methodDef.Name));
Microsoft.CodeAnalysis.Rebuild (1)
CompilationOptionsReader.cs (1)
146var methodName = mdReader.GetString(methodDefinition.Name);
Microsoft.CodeAnalysis.Test.Utilities (4)
CompilationVerifier.cs (1)
430var methodName = metadataReader.GetString(metadataReader.GetMethodDefinition(method).Name);
Metadata\MetadataReaderUtils.cs (2)
148return reader.MethodDefinitions.Select(handle => reader.GetMethodDefinition(handle).Name).ToArray(); 354return $"{signature.ReturnType} {DumpRec(reader, method.GetDeclaringType())}.{reader.GetString(method.Name)}({parameters})";
Metadata\MetadataValidation.cs (1)
109string memberName = metadataReader.GetString(methodDef.Name);
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (3)
Emit\CompilationEmitTests.vb (1)
2608Dim name = metadataReader.GetString(metadataReader.GetMethodDefinition(methodDef).Name)
Emit\EditAndContinue\EditAndContinueTests.vb (1)
5264Select Case md0.MetadataReader.GetString(md0.MetadataReader.GetMethodDefinition(m).Name)
PDB\PDBTests.vb (1)
157Assert.Equal("Main", mdReader.GetString(methodDef.Name))
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (1)
459var definition = new MetadataDefinition(MetadataDefinitionKind.Member, metadataReader.GetString(method.Name), firstParameterTypeInfo);
Roslyn.Test.PdbUtilities (1)
EditAndContinue\EditAndContinueTestUtilities.cs (1)
99=> CheckNames(readers, methodHandles, (reader, handle) => reader.GetMethodDefinition((MethodDefinitionHandle)handle).Name, handle => handle, expectedNames);
System.Reflection.MetadataLoadContext (4)
System\Reflection\TypeLoading\General\Ecma\EcmaHelpers.cs (1)
108StringHandle nameHandle = method.Name;
System\Reflection\TypeLoading\MethodBase\Ecma\EcmaMethodDecoder.cs (1)
26public string ComputeName() => MethodDefinition.Name.GetString(Reader);
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.BindingFlags.cs (2)
24if (filter == null || filter.Matches(methodDefinition.Name, reader)) 38if (filter == null || filter.Matches(methodDefinition.Name, reader))