Home
last modified time | relevance | path

Searched refs:IsGenericMethod (Results 1 – 25 of 130) sorted by relevance

123456

/dports/lang/mono/mono-5.10.1.57/mcs/tests/
H A Dgtest-243.cs21 if (!mi.IsGenericMethod) in Test()
26 if (!mi2.IsGenericMethod) in Test()
32 if (mi3.IsGenericMethod) in Test()
/dports/lang/mono/mono-5.10.1.57/mono/tests/
H A Dbug-29585.cs39 .FirstOrDefault(x => x.Name == "FindGenericMethod" && x.IsGenericMethod); in FindGenericMethod()
44 Console.WriteLine("method.IsGenericMethod = {0}", method.IsGenericMethod); in FindGenericMethod()
47 if (!method.IsGenericMethod) in FindGenericMethod()
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Reflection/
H A DMethodInfoTest.cs665 public void IsGenericMethod () in IsGenericMethod() method in MonoTests.System.Reflection.MethodInfoTest
668 Assert.AreEqual (true, mi.IsGenericMethod, "#1"); in IsGenericMethod()
670 Assert.AreEqual (true, mi2.IsGenericMethod, "#2"); in IsGenericMethod()
672 Assert.AreEqual (false, mi3.IsGenericMethod, "#3"); in IsGenericMethod()
714 Assert.IsTrue (m1.IsGenericMethod, "#A1"); in IsGenericMethodDefinition()
718 Assert.IsTrue (m2.IsGenericMethod, "#B1"); in IsGenericMethodDefinition()
722 Assert.IsTrue (m3.IsGenericMethod, "#C1"); in IsGenericMethodDefinition()
736 Assert.IsTrue (mi1.IsGenericMethod, "#A3"); in GetGenericMethodDefinition()
738 Assert.IsTrue (mi2.IsGenericMethod, "#A5"); in GetGenericMethodDefinition()
743 Assert.IsTrue (mi3.IsGenericMethod, "#B1"); in GetGenericMethodDefinition()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/
H A DRuntimeBinderExtensions.cs42 … if (!(mi2 is MethodInfo method2) || method1.IsGenericMethod != method2.IsGenericMethod) in IsEquivalentTo()
47 if (method1.IsGenericMethod) in IsEquivalentTo()
147 !((MethodBase)member1).IsGenericMethod || in IsGenericallyEquivalentTo()
229 Type[] args = method.IsGenericMethod ? method.GetGenericArguments() : null; in IsTypeParameterEquivalentToTypeInst()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Emit/tests/MethodBuilder/
H A DMethodBuilderIsGenericMethod.cs36 public void IsGenericMethod(MethodBuilder method, bool expected) in IsGenericMethod() method in System.Reflection.Emit.Tests.MethodBuilderIsGenericMethod
38 Assert.Equal(expected, method.IsGenericMethod); in IsGenericMethod()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime/tests/System/Reflection/
H A DMethodBaseTests.netcoreapp.cs19 Assert.True(m.IsGenericMethod); in Test_GetCurrentMethod_ConstructedGenericMethod()
33 Assert.True(m.IsGenericMethod); in Test_GetCurrentMethod_GenericMethodDefinition()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/reflection/
H A Dmethodinfo.cs178 if (IsGenericMethod && !IsGenericMethodDefinition) in IsNonW8PFrameworkAPI()
234 else if (IsGenericMethod)
360 if (IsGenericMethod) in FormatNameAndSig()
439 if (IsGenericMethod) in GetHashCode()
448 if (!IsGenericMethod) in Equals()
458 if (mi == null || !mi.IsGenericMethod) in Equals()
1002 if (!IsGenericMethod) in GetGenericMethodDefinition()
1009 public override bool IsGenericMethod property in System.Reflection.RuntimeMethodInfo
1026 if (!IsGenericMethod)
1059 IsGenericMethod & !IsGenericMethodDefinition ? GetGenericArguments() : null); in GetObjectData()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Microsoft.VisualBasic/src/Microsoft/VisualBasic/CompilerServices/
H A DUtils.vb103 If method1.IsGenericMethod <> method2.IsGenericMethod Then
107 If method1.IsGenericMethod Then
198 Not DirectCast(member1, MethodBase).IsGenericMethod OrElse
270 … Dim args As Type() = If(method.IsGenericMethod, method.GetGenericArguments(), Nothing)
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/CoreLib/System/Reflection/
H A DMethodBase.cs45 … public virtual bool IsConstructedGenericMethod => IsGenericMethod && !IsGenericMethodDefinition;
46 public virtual bool IsGenericMethod => false; field in System.Reflection.MethodBase
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/shared/System/Reflection/
H A DMethodBase.cs45 … public virtual bool IsConstructedGenericMethod => IsGenericMethod && !IsGenericMethodDefinition;
46 public virtual bool IsGenericMethod => false; field in System.Reflection.MethodBase
/dports/lang/mono/mono-5.10.1.57/external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/
H A DDynamicWrapper.cs145 if (newMethod.IsGenericMethod) in Generate()
159 if (newMethod.IsGenericMethod) in Generate()
190 if (realMethod.IsGenericMethod) in GetMethod()
/dports/irc/smuxi/smuxi-1.1/lib/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/
H A DDynamicWrapper.cs170 if (newMethod.IsGenericMethod) in Generate()
184 if (newMethod.IsGenericMethod) in Generate()
215 if (realMethod.IsGenericMethod) in GetMethod()
/dports/lang/mono/mono-5.10.1.57/external/ikvm/reflect/
H A DMethodInfo.cs61 if (this.IsGenericMethod) in ToString()
367 public override bool IsGenericMethod property in IKVM.Reflection.MethodInfoWithReflectedType
369 get { return method.IsGenericMethod; }
H A DGenericWrappers.cs141 public override bool IsGenericMethod property in IKVM.Reflection.GenericMethodInstance
143 get { return method.IsGenericMethod; }
175 if (this.IsGenericMethod) in GetGenericMethodDefinition()
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Reflection.Emit/
H A DMethodOnTypeBuilderInstTest.cs366 public void IsGenericMethod () in IsGenericMethod() method in MonoTests.System.Reflection.Emit.MethodOnTypeBuilderInstTest
368 Assert.IsFalse (method_create.IsGenericMethod, "#1"); in IsGenericMethod()
369 Assert.IsTrue (method_edit.IsGenericMethod, "#2"); in IsGenericMethod()
391 Assert.IsTrue (genEdit.IsGenericMethod, "#B2"); in MakeGenericMethod()
656 Assert.IsFalse (mmb.IsGenericMethod, "#8"); in GenericMethodInstanceValues()
657 Assert.IsTrue (gmd.IsGenericMethod, "#9"); in GenericMethodInstanceValues()
658 Assert.IsTrue (minst.IsGenericMethod, "#10"); in GenericMethodInstanceValues()
H A DConstructorOnTypeBuilderInstTest.cs387 public void IsGenericMethod () in IsGenericMethod() method in MonoTests.System.Reflection.Emit.ConstructorOnTypeBuilderInstTest
389 Assert.IsFalse (ci.IsGenericMethod, "#1"); in IsGenericMethod()
391 Assert.IsFalse (ci.IsGenericMethod, "#2"); in IsGenericMethod()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/Microsoft.TestCommon/Microsoft/TestCommon/
H A DGenericTypeAssert.cs283 …> m.Name.Equals(methodName, StringComparison.OrdinalIgnoreCase) && m.IsGenericMethod && AreAssigna… in CreateGenericMethod()
285 Assert.True(methodInfo.IsGenericMethod); in CreateGenericMethod()
383 Assert.True(methodInfo.IsGenericMethod); in InvokeGenericMethod()
402 Assert.True(methodInfo.IsGenericMethod); in InvokeGenericMethod()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/reflection/emit/
H A Dxxxontypebuilderinstantiation.cs98 public override bool IsGenericMethod { get { return m_method.IsGenericMethod; } } property in System.Reflection.Emit.MethodOnTypeBuilderInstantiation
186 public override bool IsGenericMethod { get { return false; } } property in System.Reflection.Emit.ConstructorOnTypeBuilderInstantiation
/dports/lang/mono/mono-5.10.1.57/mcs/tools/cil-strip/Mono.Cecil/
H A DReflectionHelper.cs290 static bool IsGenericMethod (SR.MethodBase mb) in IsGenericMethod() method in Mono.Cecil.ReflectionHelper
302 return IsGenericMethod (mb) && !IsGenericMethodDefinition (mb); in IsGenericMethodSpec()
329 if (IsGenericMethod (mb) && !IsGenericMethodDefinition (mb)) in ImportMethodBase()
361 if (IsGenericMethod (mb)) in ImportMethodBase()
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/System.Reflection.Emit/
H A DMethodOnTypeBuilderInst.cs85 if (info.IsGenericMethod) in ExtractBaseMethod()
284 public override bool IsGenericMethod { property in System.Reflection.Emit.MethodOnTypeBuilderInst
/dports/lang/mono/mono-5.10.1.57/external/corert/src/Common/src/Internal/Runtime/
H A DMappingTableFlags.cs25 IsGenericMethod = 0x00000002, enumerator
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/System.Reflection/
H A DMonoMethod.cs142 if (IsGenericMethod) in FormatNameAndSig()
186 IsGenericMethod & !IsGenericMethodDefinition ? GetGenericArguments() : null); in GetObjectData()
481 public override extern bool IsGenericMethod { property in System.Reflection.MonoMethod
488 if (IsGenericMethod) {
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Dispatcher/
H A DTaskExtensions.cs30 … m.IsGenericMethod && m.Name == TaskAsAsyncResultMethodName).First();
/dports/lang/mono/mono-5.10.1.57/external/corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/
H A DReflectionInvokeMapNode.cs87 flags |= InvokeTableFlags.IsGenericMethod; in GetData()
158 if ((flags & InvokeTableFlags.IsGenericMethod) != 0) in GetData()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Activities/System/Activities/Runtime/
H A DCallbackWrapper.cs163 if (potentialMatch.IsGenericMethod && potentialMatch.Name == this.callbackName) in FindMatchingGenericMethod()
326 if (method.IsGenericMethod) in OnSerializing()

123456