Home
last modified time | relevance | path

Searched refs:IsAssignableFrom (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/Compatibility/
DTypeExtensions.cs60 internal static bool IsAssignableFrom(this Type target, Type c) in IsAssignableFrom() method in Google.Protobuf.Compatibility.TypeExtensions
62 return target.GetTypeInfo().IsAssignableFrom(c.GetTypeInfo()); in IsAssignableFrom()
/external/protobuf/csharp/src/Google.Protobuf.Test/Compatibility/
DTypeExtensionsTest.cs80 public void IsAssignableFrom(Type target, Type argument, bool expected) in IsAssignableFrom() method in Google.Protobuf.Compatibility.TypeExtensionsTest
82 Assert.AreEqual(expected, TypeExtensions.IsAssignableFrom(target, argument)); in IsAssignableFrom()
/external/protobuf/csharp/src/Google.Protobuf.JsonDump/
DProgram.cs58 if (!typeof(IMessage).IsAssignableFrom(type)) in Main()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DTreeRewriter.cs69 if (typeof(CommonTree).IsAssignableFrom(typeof(TTree))) { in ApplyOnce()
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DMapField.cs86 if (typeof(IDeepCloneable<TValue>).IsAssignableFrom(typeof(TValue))) in Clone()